修改打包配置
This commit is contained in:
parent
5783dde87a
commit
0afc0cecb4
|
|
@ -4,7 +4,7 @@ const path = require('path')
|
|||
|
||||
var proxyUrl =
|
||||
|
||||
module.exports = {
|
||||
module.exports = {
|
||||
dev: {
|
||||
// Paths
|
||||
assetsSubDirectory: 'static',
|
||||
|
|
@ -36,11 +36,11 @@ module.exports = {
|
|||
// Paths
|
||||
assetsRoot: path.resolve(__dirname, '../dist'),
|
||||
assetsSubDirectory: 'static01',
|
||||
assetsPublicPath: '/',
|
||||
assetsPublicPath: '/bigScrap',
|
||||
productionSourceMap: false,
|
||||
devtool: '#source-map',
|
||||
productionGzip: false,
|
||||
productionGzipExtensions: ['js', 'css'],
|
||||
bundleAnalyzerReport: process.env.npm_config_report
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@ const routes = [
|
|||
const router = new Router({
|
||||
mode: 'history',
|
||||
routes,
|
||||
base: '/bigScrap'
|
||||
})
|
||||
|
||||
router.beforeEach(async (to, from, next) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue