File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -62,3 +62,21 @@ const aliasMap = {
62
62
+ module.exports = aliasWebpack({alias: aliasMap})
63
63
+ module.exports.jest = aliasJest({alias: aliasMap})
64
64
```
65
+
66
+ Fucntion ` configPaths() ` now become needed in rare cases. It is used internally.
67
+ Now you can specify path of * tsconfig.json* or * jsconfig.json* as an option.
68
+
69
+ ``` diff
70
+ - const aliasMap = configPaths("./tsconfig.paths.json")
71
+ - module.exports = aliasWebpack({alias: aliasMap})
72
+ + module.exports = aliasWebpack({tsconfig: "./tsconfig.paths.json"})
73
+ ```
74
+
75
+ If you uses standart name of these files you can skip it. It will be opned automatically.
76
+
77
+ ``` diff
78
+ - const aliasMap = configPaths("./jsconfig.paths.json")
79
+ - module.exports = aliasWebpack({jsconfig: "./jsconfig.paths.json"})
80
+ + module.exports = aliasWebpack({})
81
+ ```
82
+
You can’t perform that action at this time.
0 commit comments