File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Migration
2
+
3
+ # Migration from react-app-rewired-alias
4
+
5
+ Dangerous mode is renamed to extended/extremal. The implementation
6
+ for dangerous mode is moved to separaded liblrary with suffix ** ` -ex ` ** .
7
+
8
+ * Replace library name for generic mode
9
+
10
+ ``` diff
11
+ - const {alias} = require('react-app-rewire-alias')
12
+ + const {alias} = require('react-app-alias')
13
+ ```
14
+
15
+ * Replace library name for dangerous mode,
16
+ * Remove ` /lib/aliasDangerous ` path part from import,
17
+ * Notice that library name is different (suffix ` -ex ` added),
18
+ * Fangerous mode function ` aliasDangerous ` for ` react-app-rewired ` or ` customize-cra ` is renamed to ` alias ` .
19
+
20
+ ``` diff
21
+ - const {aliasDangerous} = require('react-app-rewired-alias/lib/aliasDangerous')
22
+ + const {alias} = require('react-app-alias-ex')
23
+ ```
24
+
You can’t perform that action at this time.
0 commit comments