File tree 5 files changed +13
-12
lines changed
graphiql-plugin-code-exporter
5 files changed +13
-12
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @graphiql/plugin-code-exporter ' : patch
3
+ ' @graphiql/plugin-explorer ' : patch
4
+ ' graphiql ' : patch
5
+ ---
6
+
7
+ fix unpkg.com results to ` Not found ` when ` main ` field isn't specified in ` package.json `
Original file line number Diff line number Diff line change 8
8
"directory" : " packages/graphiql-plugin-code-exporter"
9
9
},
10
10
"author" : " LekoArts" ,
11
+ "main" : " dist/index.js" ,
11
12
"types" : " dist/index.d.ts" ,
12
13
"license" : " MIT" ,
13
14
"keywords" : [
23
24
"exports" : {
24
25
"./package.json" : " ./package.json" ,
25
26
"./style.css" : " ./dist/style.css" ,
26
- "." : {
27
- "types" : " ./dist/index.d.ts" ,
28
- "import" : " ./dist/index.js"
29
- }
27
+ "." : " ./dist/index.js"
30
28
},
31
29
"scripts" : {
32
30
"dev" : " vite build --watch" ,
Original file line number Diff line number Diff line change 7
7
"url" : " https://github.com/graphql/graphiql" ,
8
8
"directory" : " packages/graphiql-plugin-explorer"
9
9
},
10
+ "main" : " dist/index.js" ,
10
11
"types" : " dist/index.d.ts" ,
11
12
"license" : " MIT" ,
12
13
"keywords" : [
22
23
"exports" : {
23
24
"./package.json" : " ./package.json" ,
24
25
"./style.css" : " ./dist/style.css" ,
25
- "." : {
26
- "types" : " ./dist/index.d.ts" ,
27
- "import" : " ./dist/index.js"
28
- }
26
+ "." : " ./dist/index.js"
29
27
},
30
28
"scripts" : {
31
29
"dev" : " vite build --watch" ,
Original file line number Diff line number Diff line change 16
16
"./package.json" : " ./package.json" ,
17
17
"./style.css" : " ./dist/style.css" ,
18
18
"./font/*" : " ./font/*" ,
19
- "." : {
20
- "types" : " ./dist/index.d.ts" ,
21
- "import" : " ./dist/index.js"
22
- }
19
+ "." : " ./dist/index.js"
23
20
},
24
21
"types" : " dist/index.d.ts" ,
25
22
"keywords" : [
Original file line number Diff line number Diff line change 17
17
"url" : " https://github.com/graphql/graphiql/issues?q=issue+label:graphiql"
18
18
},
19
19
"license" : " MIT" ,
20
+ "main" : " dist/index.js" ,
20
21
"types" : " dist/index.d.ts" ,
21
22
"files" : [
22
23
" dist" ,
You can’t perform that action at this time.
0 commit comments