Commit a87cf93c by wangshuo

打包目录修改

parent 5082d07b
......@@ -166,11 +166,11 @@ module.exports = function(webpackEnv) {
// In development, it does not produce real files.
filename: isEnvProduction
? 'mrstatic/js/[name].[contenthash:8].js'
: isEnvDevelopment && 'static/js/bundle.js',
: isEnvDevelopment && 'mrstatic/js/bundle.js',
// There are also additional JS chunk files if you use code splitting.
chunkFilename: isEnvProduction
? 'mrstatic/js/[name].[contenthash:8].chunk.js'
: isEnvDevelopment && 'static/js/[name].chunk.js',
: isEnvDevelopment && 'mrstatic/js/[name].chunk.js',
// We inferred the "public path" (such as / or /my-project) from homepage.
// We use "/" in development.
publicPath: publicPath,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment