Skip to content

Commit ab8c061

Browse files
committed
fix(build): set publicPath to root in build configurations
1 parent 3aa355b commit ab8c061

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/web/build.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ const result = await Bun.build({
4141
splitting: false,
4242
define,
4343
plugins: [postcssPlugin],
44+
publicPath: "/",
4445
});
4546

4647
if (!result.success) {

packages/web/dev.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ async function build() {
6363
splitting: false,
6464
define,
6565
plugins: [postcssPlugin],
66+
publicPath: "/",
6667
});
6768

6869
if (!result.success) {

0 commit comments

Comments
 (0)