|
@@ -1,4 +1,4 @@
|
|
|
-const path = require('path')
|
|
|
+const path = require('path')
|
|
|
const Timestamp = new Date().getTime();
|
|
|
function resolve(dir) {
|
|
|
return path.join(__dirname, './', dir)
|
|
@@ -55,13 +55,5 @@ module.exports = {
|
|
|
},
|
|
|
configureWebpack: config => {
|
|
|
config.entry.app = ["babel-polyfill", "./src/main.js"];
|
|
|
- },
|
|
|
- configureWebpack: {
|
|
|
- output: { // 输出重构 打包编译后的 文件名称 【模块名称.版本号.js】
|
|
|
- filename: `js/[name].${Timestamp}.js`,
|
|
|
- chunkFilename: `js/[name].${Timestamp}.js`
|
|
|
- // chunkFilename: `js/[id].vw.js`
|
|
|
- },
|
|
|
}
|
|
|
-
|
|
|
}
|