Skip to content

Commit

Permalink
include zustand (it is already dependecny of react-three-fiber)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruucm committed Nov 24, 2024
1 parent cacc558 commit ebc8113
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/shadergradient-v2/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export default defineConfig(async (options) => {
'@react-three/fiber',
'@react-three/drei',
'three',
'zustand',
],
esbuildPlugins: [glslLoader],
async onSuccess() {
Expand Down
2 changes: 1 addition & 1 deletion packages/shadergradient-v2/tsup.framer.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export default defineConfig(async (options) => {
},
minify: !isDev,
clean: true,
splitting: false,

// internal bundles
// ['@react-spring/three', '@react-three/fiber', '@react-three/drei', 'three']
Expand All @@ -55,7 +56,6 @@ export default defineConfig(async (options) => {
'react',
'framer',
'react-reconciler', // react-reconciler need to be external, cause esbuild can't resolve it (Error "Dynamic require of "react" is not supported")
'zustand', // zustand is optional package only for StoreShaderGradient (need to install manually in Framer Canvas)
],
esbuildPlugins: [glslLoader],
async onSuccess() {
Expand Down

0 comments on commit ebc8113

Please sign in to comment.