Skip to content

Commit 813abc7

Browse files
committed
fix: add webpack resolve alias
1 parent 79e4bd6 commit 813abc7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ import * as path from 'node:path'
2222
import type { Configuration } from 'webpack'
2323

2424
export default {
25+
// ...
26+
resolve: {
27+
// See <https://formatjs.github.io/docs/guides/advanced-usage>
28+
alias: {
29+
'@formatjs/icu-messageformat-parser': '@formatjs/icu-messageformat-parser/no-parser',
30+
},
31+
},
2532
// ...
2633
module: {
2734
rules: [

0 commit comments

Comments
 (0)