babel
Showing
2 changed files
with
3 additions
and
3 deletions
... | @@ -15,7 +15,7 @@ export const constantRoutes = [ | ... | @@ -15,7 +15,7 @@ export const constantRoutes = [ |
15 | const createRouter = () => | 15 | const createRouter = () => |
16 | new Router({ | 16 | new Router({ |
17 | mode: 'history', // require service support | 17 | mode: 'history', // require service support |
18 | base: '/vueapp/', | 18 | base: '/antpublic/', |
19 | scrollBehavior: () => ({ y: 0 }), | 19 | scrollBehavior: () => ({ y: 0 }), |
20 | routes: constantRoutes | 20 | routes: constantRoutes |
21 | }) | 21 | }) | ... | ... |
... | @@ -37,7 +37,7 @@ const cdn = { | ... | @@ -37,7 +37,7 @@ const cdn = { |
37 | } | 37 | } |
38 | } | 38 | } |
39 | module.exports = { | 39 | module.exports = { |
40 | publicPath: process.env.NODE_ENV === 'development' ? '/' : '/vueapp/', | 40 | publicPath: process.env.NODE_ENV === 'development' ? '/' : '/antpublic/', |
41 | outputDir: 'dist', | 41 | outputDir: 'dist', |
42 | assetsDir: 'static', | 42 | assetsDir: 'static', |
43 | lintOnSave: process.env.NODE_ENV === 'development', | 43 | lintOnSave: process.env.NODE_ENV === 'development', |
... | @@ -57,7 +57,7 @@ module.exports = { | ... | @@ -57,7 +57,7 @@ module.exports = { |
57 | // externals里的模块不打包 | 57 | // externals里的模块不打包 |
58 | Object.assign(config, { | 58 | Object.assign(config, { |
59 | name: name, | 59 | name: name, |
60 | entry:["@babel/polyfill", "./src/main.js"], | 60 | // entry:["@babel/polyfill", "./src/main.js"], |
61 | externals: externals | 61 | externals: externals |
62 | }) | 62 | }) |
63 | } | 63 | } | ... | ... |
-
Please register or sign in to post a comment