mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-17 00:13:17 +00:00
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:
@@ -1,7 +1,10 @@
|
||||
{
|
||||
"name": "@storyteller/framework",
|
||||
"version": "0.0.1",
|
||||
"dependencies": {},
|
||||
"dependencies": {
|
||||
"@storyteller/utility": "0.0.1",
|
||||
"lit": "^2.8.0"
|
||||
},
|
||||
"main": "./index.js",
|
||||
"module": "./index.mjs",
|
||||
"typings": "./index.d.ts"
|
||||
|
||||
@@ -35,7 +35,10 @@ export default defineConfig({
|
||||
},
|
||||
rollupOptions: {
|
||||
// External packages that should not be bundled into your library.
|
||||
external: [],
|
||||
external: [
|
||||
"@storyteller/utility",
|
||||
"lit",
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user