Commit a10cc10
authored
ref(nextjs): Drop
### Summary
Removes `resolve` dependency and replaces it with `createRequire` which
would work in esm modules as well, since our min Node.js version is 18
then it should be fine to do this replacement.
This should reduce the npm install size and the SSR bundle size for the
SDK.
closes #12860resolve dependency (#18618)1 parent 9ecd7f5 commit a10cc10
File tree
5 files changed
+6
-20
lines changed- packages/nextjs
- src/config
5 files changed
+6
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | 90 | | |
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
95 | | - | |
96 | 94 | | |
97 | 95 | | |
98 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | | - | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
790 | 790 | | |
791 | 791 | | |
792 | 792 | | |
793 | | - | |
| 793 | + | |
794 | 794 | | |
795 | 795 | | |
796 | 796 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9069 | 9069 | | |
9070 | 9070 | | |
9071 | 9071 | | |
9072 | | - | |
9073 | | - | |
9074 | | - | |
9075 | | - | |
9076 | | - | |
9077 | 9072 | | |
9078 | 9073 | | |
9079 | 9074 | | |
| |||
27064 | 27059 | | |
27065 | 27060 | | |
27066 | 27061 | | |
27067 | | - | |
27068 | | - | |
27069 | | - | |
27070 | | - | |
27071 | | - | |
27072 | | - | |
27073 | | - | |
27074 | | - | |
27075 | | - | |
27076 | 27062 | | |
27077 | 27063 | | |
27078 | 27064 | | |
| |||
0 commit comments