Yuki Takei 7 лет назад
Родитель
Сommit
0bb5b03f07
2 измененных файлов с 1 добавлено и 5 удалено
  1. 1 2
      config/webpack.common.js
  2. 0 3
      config/webpack.dev.js

+ 1 - 2
config/webpack.common.js

@@ -38,8 +38,7 @@ module.exports = (options) => {
     output: Object.assign({
       path: helpers.root('public/js'),
       publicPath: '/js/',
-      filename: '[name]-[hash].js',
-      chunkFilename: '[id]-[chunkhash].js',
+      filename: '[name].bundle.js',
     }, options.output || {}), // Merge with env dependent settings
     externals: {
       // require("jquery") is external and available

+ 0 - 3
config/webpack.dev.js

@@ -22,9 +22,6 @@ module.exports = require('./webpack.common')({
   entry: {
     dev: './resource/js/dev',
   },
-  output: {
-    filename: '[name].bundle.js',
-  },
   resolve: {
     // TODO merge in webpack.common.js
     modules: [path.join(process.env.HOME, '.node_modules')],