forked from AkkomaGang/admin-fe
refine code
This commit is contained in:
parent
805ab1d0ac
commit
cb53ba891c
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ module.exports = {
|
||||||
index: path.resolve(__dirname, '../dist/index.html'),
|
index: path.resolve(__dirname, '../dist/index.html'),
|
||||||
assetsRoot: path.resolve(__dirname, '../dist'),
|
assetsRoot: path.resolve(__dirname, '../dist'),
|
||||||
assetsSubDirectory: 'static',
|
assetsSubDirectory: 'static',
|
||||||
assetsPublicPath: '/',
|
assetsPublicPath: './', //请根据自己路径配置更改
|
||||||
staticPath:'./',
|
staticPath:'./static/', //请根据自己路径配置更改
|
||||||
productionSourceMap: true,
|
productionSourceMap: true,
|
||||||
// Gzip off by default as many popular static hosts such as
|
// Gzip off by default as many popular static hosts such as
|
||||||
// Surge or Netlify already gzip all static assets for you.
|
// Surge or Netlify already gzip all static assets for you.
|
||||||
|
|
Loading…
Reference in a new issue