Skip to content

Commit 0ea2fd7

Browse files
committed
Define outbase on esbuild
Fixes some weird client placement bugs when using the default layouts and clients.
1 parent 074e7ef commit 0ea2fd7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/build-esbuild/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ export async function buildEsbuild (src, dest, siteData, opts) {
8686
splitting: true,
8787
sourcemap: true,
8888
outdir: dest,
89+
outbase: src,
8990
target,
9091
define,
9192
metafile: true,

0 commit comments

Comments
 (0)