mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
added treeshake option to build + finalized package json (for now)
This commit is contained in:
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user