We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64ed535 commit e8627cfCopy full SHA for e8627cf
2 files changed
templates/index.php
@@ -1,2 +1,2 @@
1
-<?php script($_['appId'], ['../build/main']); ?>
2
-<?php style($_['appId'], ['../build/main']); ?>
+<?php script($_['appId'], ['../build/main.min']); ?>
+<?php style($_['appId'], ['../build/main.min']); ?>
webpack/prod.config.js
@@ -17,7 +17,7 @@ module.exports = {
17
},
18
output: {
19
path: assetsPath,
20
- filename: '[name].js',
+ filename: '[name].min.js',
21
chunkFilename: '[name]-[chunkhash].js',
22
publicPath: '/dist/'
23
@@ -54,7 +54,7 @@ module.exports = {
54
55
plugins: [
56
new CleanPlugin([relativeAssetsPath]),
57
- new ExtractTextPlugin("[name].css"),
+ new ExtractTextPlugin("[name].min.css"),
58
new webpack.DefinePlugin({
59
__CLIENT__: true,
60
__SERVER__: false,
0 commit comments