Skip to content

Commit

Permalink
fix: use PROCESS_ASSETS_STAGE_DEV_TOOLING instead of PROCESS_ASSETS_S…
Browse files Browse the repository at this point in the history
…TAGE_OPTIMIZE_COMPATIBILITY
  • Loading branch information
yimingjfe committed Jul 19, 2023
1 parent 1ce4882 commit df23017
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/giant-trees-walk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@modern-js/app-tools': patch
---

fix: use PROCESS_ASSETS_STAGE_DEV_TOOLING instead of PROCESS_ASSETS_STAGE_OPTIMIZE_COMPATIBILITY
fix: 使用 PROCESS_ASSETS_STAGE_DEV_TOOLING 替代 PROCESS_ASSETS_STAGE_OPTIMIZE_COMPATIBILITY
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class RouterPlugin {
compilation.hooks.processAssets.tapPromise(
{
name: PLUGIN_NAME,
stage: Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COMPATIBILITY,
stage: Compilation.PROCESS_ASSETS_STAGE_DEV_TOOLING,
},
async () => {
const stats = compilation.getStats().toJson({
Expand Down

0 comments on commit df23017

Please sign in to comment.