mp修改了webpack的配置

This commit is contained in:
Xu Chang 2025-08-02 21:13:34 +08:00
parent 1fe6f4409c
commit 9a1f950d51
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ module.exports = function (webpackEnv) {
const isEnvProduction = webpackEnv === 'production';
// 生产环境和staging都是none
// 开发环境 使用eval-source-map
const sourceMap = isEnvDevelopment ? 'inline-source-map' : false;
const sourceMap = isEnvDevelopment ? 'cheap-module-source-map' : false;
const oakFileLoader = (ext = '[ext]') => {
return {