More aggresive tree-shaking.

This commit is contained in:
Richard Moore 2023-04-24 19:36:07 +09:00
parent 7c0465c5fb
commit 076edad81e

@ -19,7 +19,7 @@ function getConfig(opts) {
sourcemap: true sourcemap: true
}, },
context: "__$G", context: "__$G",
treeshake: false, treeshake: true,
plugins: [ nodeResolve({ plugins: [ nodeResolve({
exportConditions, exportConditions,
mainFields, mainFields,