mirror of
https://github.com/rubickCenter/rubick
synced 2025-10-26 22:51:25 +08:00
⚡ 减少项目打包体积,去除不必要的sourcemap
This commit is contained in:
@@ -11,6 +11,7 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
},
|
||||
productionSourceMap: false,
|
||||
outputDir: path.join(__dirname, '../public/guide'),
|
||||
publicPath: process.env.NODE_ENV === 'production' ? '' : '/',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user