1 | module.exports = {
|
2 | entry: './example/index.js',
|
3 | output: {
|
4 | path: 'example',
|
5 | filename: 'bundle.js'
|
6 | },
|
7 | module: {
|
8 | loaders: [
|
9 | {test: /\.css$/, loader: 'style!css'},
|
10 | {test: /\.png$/, loader: 'url-loader?mimetype=image/png'},
|
11 | {test: /\.json$/, loader: 'json' },
|
12 | {test: /\.html$/, loader: 'html'}
|
13 | ]
|
14 | },
|
15 | plugins: []
|
16 | }
|