Skip to content

Commit 5c8bbee

Browse files
committed
trying something
1 parent f6fe28e commit 5c8bbee

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

webpack-config.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
minimize: true,
99
minimizer: [
1010
new TerserPlugin({
11-
include:/./,
11+
include:/\.js$/,
1212
terserOptions: {
1313
output: {
1414
comments: false,
@@ -25,6 +25,7 @@ module.exports = {
2525
path: './dist',
2626
filename: 'tot.js'
2727
},
28+
/*
2829
module: {
2930
loaders: [
3031
{
@@ -37,13 +38,15 @@ module.exports = {
3738
},
3839
]
3940
},
41+
*/
4042
mode: 'production',
4143
plugins: [
4244
new Clean(['dist']),
4345
new ExtractTextPlugin("app.[hash].css"),
46+
/*
4447
new HtmlWebpackPlugin({
4548
filename: 'index.html',
4649
title: 'jQuery UI Autocomplete demo, built with webpack'
47-
})
50+
})*/
4851
]
4952
};

0 commit comments

Comments
 (0)