diff --git a/src/components/Playground/PixiPlayground/useSandpackConfiguration.ts b/src/components/Playground/PixiPlayground/useSandpackConfiguration.ts index 4e8e7ecd7..8d2b85057 100644 --- a/src/components/Playground/PixiPlayground/useSandpackConfiguration.ts +++ b/src/components/Playground/PixiPlayground/useSandpackConfiguration.ts @@ -114,20 +114,17 @@ export const useSandpackConfiguration = ({ // could flip between examples easily, investigate why it bugs out during editing const key = `${dependenciesKey}-${code}`; - let customSetup: Record = { + const customSetup: Record = { entry: 'index.html', dependencies, + devDependencies: { + 'parcel-bundler': '^1.6.1', + }, }; if (isPreV8(pixiVersion)) { - customSetup = { - ...customSetup, - devDependencies: { - '@babel/core': '^7.21.3', - 'parcel-bundler': '^1.6.1', - }, - }; + customSetup.devDependencies['@babel/core'] = '^7.21.3'; } return {