Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaMachina committed Jun 26, 2023
1 parent 5030820 commit 4a258a3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changeset/cold-maps-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@graphiql/plugin-code-exporter': minor
'@graphiql/plugin-explorer': minor
---

BREAKING CHANGE: umd build was renamed to `index.umd.js`
2 changes: 1 addition & 1 deletion packages/graphiql-plugin-code-exporter/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default defineConfig({
emptyOutDir: !IS_UMD,
lib: {
entry: 'src/index.tsx',
fileName: IS_UMD ? 'graphiql-plugin-code-exporter' : 'index',
fileName: 'index',
name: 'GraphiQLPluginCodeExporter',
formats: IS_UMD ? ['umd'] : ['cjs', 'es'],
},
Expand Down
2 changes: 1 addition & 1 deletion packages/graphiql-plugin-explorer/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default defineConfig({
emptyOutDir: !IS_UMD,
lib: {
entry: 'src/index.tsx',
fileName: IS_UMD ? 'graphiql-plugin-explorer' : 'index',
fileName: 'index',
name: 'GraphiQLPluginExplorer',
formats: IS_UMD ? ['umd'] : ['cjs', 'es'],
},
Expand Down

0 comments on commit 4a258a3

Please sign in to comment.