Fix studio-web build issues (#17)

* Add plugins for `wasm` and `top-level-await` to Vite config
* Avoid bundling dependencies
* Add external dependencies to project-level `package.json` manifests
This commit is contained in:
Danny McGee
2023-12-27 17:45:07 -05:00
committed by GitHub
parent 0a0acacfdb
commit e0cf0efc7a
9 changed files with 161 additions and 49 deletions
+6
View File
@@ -7,6 +7,12 @@
"build": {
"executor": "@nx/vite:build",
"outputs": ["{options.outputPath}"],
"dependsOn": [
{
"projects": ["studio"],
"target": "build:web"
}
],
"options": {
"outputPath": "dist/studio-web"
}