mirror of
https://github.com/storytold/spark.git
synced 2026-10-20 08:04:33 +00:00
Perform more tree-shaking on worker code (#118)
This commit is contained in:
@@ -90,6 +90,9 @@ export default defineConfig(({ mode }) => {
|
|||||||
},
|
},
|
||||||
|
|
||||||
worker: {
|
worker: {
|
||||||
|
rollupOptions: {
|
||||||
|
treeshake: "smallest",
|
||||||
|
},
|
||||||
plugins: () => [
|
plugins: () => [
|
||||||
glsl({
|
glsl({
|
||||||
include: ["**/*.glsl"],
|
include: ["**/*.glsl"],
|
||||||
|
|||||||
Reference in New Issue
Block a user