diff --git a/templates/index.php b/templates/index.php index 99caaab1..569ef43e 100644 --- a/templates/index.php +++ b/templates/index.php @@ -1,2 +1,2 @@ - - + + diff --git a/webpack/prod.config.js b/webpack/prod.config.js index b8c3a98d..5a31021b 100755 --- a/webpack/prod.config.js +++ b/webpack/prod.config.js @@ -17,7 +17,7 @@ module.exports = { }, output: { path: assetsPath, - filename: '[name].js', + filename: '[name].min.js', chunkFilename: '[name]-[chunkhash].js', publicPath: '/dist/' }, @@ -54,7 +54,7 @@ module.exports = { }, plugins: [ new CleanPlugin([relativeAssetsPath]), - new ExtractTextPlugin("[name].css"), + new ExtractTextPlugin("[name].min.css"), new webpack.DefinePlugin({ __CLIENT__: true, __SERVER__: false,