Commit fab14410 by 张立顺

修改构筑目录配置

1 parent c5c4cbdb
const path = require('path')
const packageName = require('./package.json').name
const node_env = process.env.NODE_ENV === 'production'
// const publicPath = node_env ? `/child/${packageName}/` : '/'
const publicPath = node_env ? `/${packageName}/` : '/'
const publicPath = node_env ? `/` : '/'
const resolve = dir => path.join(__dirname, dir)
// const CDN_DOMAIN = 'https://cdn.bootcdn.net/'
const CDN_DOMAIN = 'https://img02.glsx.com.cn/'
......@@ -14,7 +13,7 @@ const cdn = {
module.exports = {
outputDir: `dist`,
publicPath,
assetsDir: 'static',
// assetsDir: 'static',
productionSourceMap: false,
configureWebpack: {
resolve: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!