UNPKG

545 BJavaScriptView Raw
1var path = require('path');
2
3module.exports = {
4 entry: {
5 'example/compiled/index': './example/src/index',
6 'example/compiled/responsive_example': './example/src/responsive_example',
7 },
8
9 output: {
10 path: '.',
11 filename: '[name].js',
12 publicPath: '/example/compiled/'
13 },
14
15 module: {
16 loaders: [
17 { test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader?optional=es7.objectRestSpread'},
18 ]
19 },
20
21 devServer: {
22 contentBase: './example',
23 host: 'localhost',
24 inline: true,
25 info: false
26 }
27};