Skip to content

Commit

Permalink
Added back parcel-bundler for all pixi versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bbazukun123 committed Dec 21, 2023
1 parent af6c7e0 commit fd9b693
Showing 1 changed file with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, any> = {
const customSetup: Record<string, any> = {
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 {
Expand Down

0 comments on commit fd9b693

Please sign in to comment.