diff options
Diffstat (limited to 'test/bundler/esbuild/splitting.test.ts')
-rw-r--r-- | test/bundler/esbuild/splitting.test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bundler/esbuild/splitting.test.ts b/test/bundler/esbuild/splitting.test.ts index 361b51ef6..c10a1a36f 100644 --- a/test/bundler/esbuild/splitting.test.ts +++ b/test/bundler/esbuild/splitting.test.ts @@ -549,7 +549,7 @@ describe("bundler", () => { }, outdir: "/out", splitting: true, - chunkNames: "[dir]/[name]-[hash].[ext]", + chunkNaming: "[dir]/[name]-[hash].[ext]", onAfterBundle(api) { assert( readdirSync(api.outdir + "/output-path/should-contain/this-text").length === 1, @@ -569,7 +569,7 @@ describe("bundler", () => { outdir: "/out", entryPoints: ["/src/index.js"], splitting: true, - platform: "browser", + target: "browser", runtimeFiles: { "/test.js": /* js */ ` import { A, B } from './out/index.js' |