should fix playground build
This commit is contained in:
parent
f9b87d5087
commit
1446ccc0a7
2 changed files with 5 additions and 2 deletions
|
|
@ -24,7 +24,7 @@
|
|||
"watch-mesher": "pnpm build-mesher -w",
|
||||
"run-playground": "run-p watch-mesher watch-other-workers watch-playground",
|
||||
"run-all": "run-p start run-playground",
|
||||
"build-playground": "rsbuild build --root ./prismarine-viewer",
|
||||
"build-playground": "rsbuild build --config prismarine-viewer/rsbuild.config.ts",
|
||||
"watch-playground": "rsbuild dev --root ./prismarine-viewer"
|
||||
},
|
||||
"keywords": [
|
||||
|
|
|
|||
|
|
@ -17,10 +17,13 @@ export default mergeRsbuildConfig(
|
|||
appAndRendererSharedConfig(),
|
||||
defineConfig({
|
||||
html: {
|
||||
template: './playground.html',
|
||||
template: join(__dirname, './playground.html'),
|
||||
},
|
||||
output: {
|
||||
cleanDistPath: false,
|
||||
distPath: {
|
||||
root: join(__dirname, './dist'),
|
||||
},
|
||||
},
|
||||
server: {
|
||||
port: 9090,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue