Style changes to webpack config

This commit is contained in:
Ilya Ig. Petrov 2017-06-01 18:16:49 +05:00
parent 696983f863
commit ef75b4eace

View File

@ -1,7 +1,7 @@
'use strict'; 'use strict';
const path = require('path'); const path = require('path');
const BabiliPlugin = require('babili-webpack-plugin'); //const BabiliPlugin = require('babili-webpack-plugin');
module.exports = (env, ...flags) => ({ module.exports = (env, ...flags) => ({
entry: './src/index.js', entry: './src/index.js',
@ -21,7 +21,10 @@ module.exports = (env, ...flags) => ({
loader: 'babel-loader', loader: 'babel-loader',
options: { options: {
presets: ['flow'], presets: ['flow'],
plugins: ['dynamic-import-webpack', 'inferno'], plugins: [
'dynamic-import-webpack',
'inferno',
],
}, },
}, },
/*{ /*{