style(webpack): remove comments from config

pull/2670/head
Chaim Lev-Ari 2018-11-06 14:56:26 +02:00
parent 59c2353c50
commit 1267bbcd5e
1 changed files with 2 additions and 4 deletions

View File

@ -7,7 +7,7 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const CleanWebpackPlugin = require('clean-webpack-plugin');
// const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
const npmPackage = require('../package.json');
const projectRoot = path.resolve( __dirname, '..');
const projectRoot = path.resolve(__dirname, '..');
module.exports = {
entry: {
@ -92,11 +92,9 @@ module.exports = {
new ProvidePlugin({
$: 'jquery',
jQuery: 'jquery',
'window.jQuery': 'jquery'
'window.jQuery': 'jquery',
}),
new MiniCssExtractPlugin({
// Options similar to the same options in webpackOptions.output
// both options are optional
filename: '[name].css',
chunkFilename: '[id].css',
sourceMap: true