diff --git a/packages/shadergradient-v2/tsup.config.ts b/packages/shadergradient-v2/tsup.config.ts index b1271623..c50c7ad5 100644 --- a/packages/shadergradient-v2/tsup.config.ts +++ b/packages/shadergradient-v2/tsup.config.ts @@ -54,7 +54,6 @@ export default defineConfig(async (options) => { '@react-three/fiber', '@react-three/drei', 'three', - 'zustand', ], esbuildPlugins: [glslLoader], async onSuccess() { diff --git a/packages/shadergradient-v2/tsup.framer.config.ts b/packages/shadergradient-v2/tsup.framer.config.ts index 90aaa4fb..7d8bf219 100644 --- a/packages/shadergradient-v2/tsup.framer.config.ts +++ b/packages/shadergradient-v2/tsup.framer.config.ts @@ -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'] @@ -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() {