Skip to content

Commit e90c46f

Browse files
committed
try this instead
1 parent 63f59ff commit e90c46f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

scripts/create-common-bundle/index.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ const ignored_basenames = ['.DS_Store', 'LICENSE'];
1919
const ignored_extensions = ['.d.ts', '.map'];
2020
const ignored_directories = ['.svelte-kit', 'node_modules/.bin', 'node_modules/rollup/dist/shared'];
2121

22-
const ignored_files = new Set([
23-
'node_modules/svelte/compiler.js',
24-
'node_modules/@esbuild/darwin-arm64/bin/esbuild'
25-
]);
22+
const ignored_files = new Set(['node_modules/svelte/compiler.js']);
2623

2724
for (const file of glob('**', { cwd, filesOnly: true, dot: true }).map((file) =>
2825
file.replaceAll('\\', '/')
@@ -43,7 +40,7 @@ for (const file of glob('**', { cwd, filesOnly: true, dot: true }).map((file) =>
4340
fs.readFileSync(`${cwd}/${file}`)
4441
);
4542
continue;
46-
} else if (file.startsWith('node_modules/esbuild')) {
43+
} else if (file.startsWith('node_modules/esbuild') || file.startsWith('node_modules/@esbuild')) {
4744
continue;
4845
}
4946

0 commit comments

Comments
 (0)