Skip to content

Commit

Permalink
test(workshop): fix missing commonjs support for @sanity/structure
Browse files Browse the repository at this point in the history
  • Loading branch information
skogsmaskin authored and ricokahler committed Dec 6, 2021
1 parent 436c3ec commit d1e1804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/workshop/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default defineConfig({
pluginCanonicalModules(['@sanity/ui', 'react', 'react-dom', 'styled-components']),
pluginWorkshopScopes(),
viteCommonjs({
include: ['@sanity/eventsource'],
include: ['@sanity/eventsource', '@sanity/structure'],
}),
],
resolve: {
Expand Down

3 comments on commit d1e1804

@vercel
Copy link

@vercel vercel bot commented on d1e1804 Dec 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

studio-workshop – ./dev/workshop

studio-workshop.sanity.build
studio-workshop-git-next.sanity.build

@vercel
Copy link

@vercel vercel bot commented on d1e1804 Dec 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

test-studio – ./

test-studio-git-next.sanity.build
test-studio.sanity.build

@vercel
Copy link

@vercel vercel bot commented on d1e1804 Dec 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

perf-studio – ./

perf-studio-git-next.sanity.build
perf-studio.sanity.build

Please sign in to comment.