Skip to content

Commit 34923f0

Browse files
committed
fix: patch webpack
See: webpack/enhanced-resolve#456
1 parent 6aabd9b commit 34923f0

File tree

4 files changed

+143
-103
lines changed

4 files changed

+143
-103
lines changed

.changeset/quick-items-sing.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
3+
---

patches/webpack.patch

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
diff --git a/types.d.ts b/types.d.ts
2+
index 8fa5306f239a38b196b93032a27302cf43e42634..4ed28c3a71a7f97a5a92d27c6b068d00258a8df7 100644
3+
--- a/types.d.ts
4+
+++ b/types.d.ts
5+
@@ -8076,7 +8076,7 @@ declare interface JsonGeneratorOptions {
6+
*/
7+
JSONParse?: boolean;
8+
}
9+
-type JsonObjectFs = { [index: string]: JsonValueFs } & {
10+
+declare interface JsonObjectFs {
11+
[index: string]:
12+
| undefined
13+
| null
14+
@@ -8085,8 +8085,8 @@ type JsonObjectFs = { [index: string]: JsonValueFs } & {
15+
| boolean
16+
| JsonObjectFs
17+
| JsonValueFs[];
18+
-};
19+
-type JsonObjectTypes = { [index: string]: JsonValueTypes } & {
20+
+}
21+
+declare interface JsonObjectTypes {
22+
[index: string]:
23+
| undefined
24+
| null
25+
@@ -8095,7 +8095,7 @@ type JsonObjectTypes = { [index: string]: JsonValueTypes } & {
26+
| boolean
27+
| JsonObjectTypes
28+
| JsonValueTypes[];
29+
-};
30+
+}
31+
32+
/**
33+
* Parser options for JSON modules.

0 commit comments

Comments
 (0)