Skip to content

Commit 08d6409

Browse files
authored
Enable Rollup treeshaking pass (#72)
1 parent ff80ada commit 08d6409

File tree

4 files changed

+58
-52
lines changed

4 files changed

+58
-52
lines changed

.changeset/violet-rivers-wonder.md

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

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@
4141
"test:unit": "vitest run"
4242
},
4343
"dependencies": {
44-
"@codama/errors": "^1.4.1",
45-
"@codama/nodes": "^1.4.1",
46-
"@codama/renderers-core": "^1.3.0",
47-
"@codama/visitors-core": "^1.4.1",
44+
"@codama/errors": "^1.4.4",
45+
"@codama/nodes": "^1.4.4",
46+
"@codama/renderers-core": "^1.3.3",
47+
"@codama/visitors-core": "^1.4.4",
4848
"@solana/codecs-strings": "^5.0.0",
4949
"nunjucks": "^3.2.4"
5050
},
5151
"devDependencies": {
52-
"@codama/nodes-from-anchor": "^1.3.3",
52+
"@codama/nodes-from-anchor": "^1.3.6",
5353
"@changesets/changelog-github": "^0.5.1",
5454
"@changesets/cli": "^2.29.7",
5555
"@solana/eslint-config-solana": "^5.0.0",

pnpm-lock.yaml

Lines changed: 47 additions & 47 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
@@ -38,5 +38,6 @@ function getBuildConfig(options: BuildOptions): TsupConfig {
3838
publicDir: true,
3939
pure: ['process'],
4040
sourcemap: true,
41+
treeshake: true,
4142
};
4243
}

0 commit comments

Comments
 (0)