Skip to content

Commit c08e199

Browse files
authored
Enabled Rollup treeshaking pass (#73)
1 parent f6d2f81 commit c08e199

File tree

4 files changed

+58
-20
lines changed

4 files changed

+58
-20
lines changed

.changeset/forty-clouds-battle.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@codama/renderers-demo': patch
3+
---
4+
5+
Enabled Rollup treeshaking pass

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@
4949
"test:unit": "vitest run"
5050
},
5151
"dependencies": {
52-
"@codama/errors": "^1.4.1",
53-
"@codama/nodes": "^1.4.1",
54-
"@codama/renderers-core": "^1.3.0",
55-
"@codama/visitors-core": "^1.4.1",
52+
"@codama/errors": "^1.4.4",
53+
"@codama/nodes": "^1.4.4",
54+
"@codama/renderers-core": "^1.3.3",
55+
"@codama/visitors-core": "^1.4.4",
5656
"@solana/codecs": "^5.0.0"
5757
},
5858
"devDependencies": {

pnpm-lock.yaml

Lines changed: 48 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsup.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,6 @@ function getBuildConfig(options: BuildOptions): TsupConfig {
4141
publicDir: true,
4242
pure: ['process'],
4343
sourcemap: true,
44+
treeshake: true,
4445
};
4546
}

0 commit comments

Comments
 (0)