Commit 0a02718
committed
feat(npm-scripts): shim
Webpack 5 doesn't provide shims for built-in node packages, so we need to provide one for `path`
ourselves given that `@clayui/css` uses it.
We choose `path-browserify` because webpack itself suggests it. And we blindly believe and follow
what webpack says.path package from node1 parent f45ed82 commit 0a02718
File tree
3 files changed
+11
-0
lines changed- projects/npm-tools/packages/npm-scripts
- src/utils
3 files changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
130 | 135 | | |
131 | 136 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11804 | 11804 | | |
11805 | 11805 | | |
11806 | 11806 | | |
| 11807 | + | |
| 11808 | + | |
| 11809 | + | |
| 11810 | + | |
| 11811 | + | |
11807 | 11812 | | |
11808 | 11813 | | |
11809 | 11814 | | |
| |||
0 commit comments