added treeshake option to build + finalized package json (for now)

This commit is contained in:
dswbx
2024-12-07 17:19:27 +01:00
parent 71dbfc5469
commit 154703f873
2 changed files with 5 additions and 5 deletions

View File

@@ -93,6 +93,7 @@ await tsup.build({
platform: "browser",
format: ["esm", "cjs"],
splitting: false,
treeshake: true,
loader: {
".svg": "dataurl"
}
@@ -112,6 +113,7 @@ await tsup.build({
platform: "browser",
format: ["esm", "cjs"],
splitting: true,
treeshake: true,
loader: {
".svg": "dataurl"
},