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