Skip to content

Commit

Permalink
fix(loader): cache path error of app.config (NervJS#15316)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hector-Chong authored Mar 8, 2024
1 parent 9015d8b commit 76de5c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taro-webpack5-runner/src/webpack/BaseConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class BaseConfig {
buildDependencies: {
// 与 Config 中处理的配置文件保持一致
config: [resolveScriptPath(path.join(appPath, 'config', 'index'))],
files: [resolveScriptPath(path.join(appPath, 'app.config'))]
files: [resolveScriptPath(path.join(appPath, 'src', 'app.config'))]
},
name: `${process.env.NODE_ENV}-${process.env.TARO_ENV}`
}
Expand Down

0 comments on commit 76de5c0

Please sign in to comment.