mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-20 07:54:50 +00:00
Avoid bundling dependencies; Build CommonJS target
This commit is contained in:
@@ -35,11 +35,15 @@ export default defineConfig({
|
||||
fileName: "index",
|
||||
// Change this to the formats you want to support.
|
||||
// Don't forget to update your package.json as well.
|
||||
formats: ["es"],
|
||||
formats: ["es", "cjs"],
|
||||
},
|
||||
rollupOptions: {
|
||||
// External packages that should not be bundled into your library.
|
||||
external: [],
|
||||
external: [
|
||||
"lit",
|
||||
"@storyteller/framework",
|
||||
"@storyteller/studio",
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user