All Stories published by A beginner’s guide to Webpack 2 on May 06, 2017
01
02
03
04
05
08
09
10
14
15
16
17
18
19
21
22
23
25
26
27
28
29
30
31

Webpack configuration file

In the last section, we ran the webpack command (on terminal or via npm script) with two arguments:

1. the entry point of our application for webpack to start bundling modules from and


Resolve common file extensions

In the previous section, we imported our my-helper-module in our app.js as below:

import * as helperModule from './my-helper-module.js'

We can add a resolve block in our webpack.config so that webpack can resolve and…

About
A beginner’s guide to Webpack 2
A beginner’s guide to Webpack 2
More information
Tags
Editors