Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/stupid-countries-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@capsizecss/vanilla-extract": patch
---

Ensure Vanilla Extract styles are bundled into isolated modules
2 changes: 2 additions & 0 deletions packages/metrics/package.json

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes in this file were meant to be added in #242. They don't need to be published however since they made it into the published package anyway.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah interesting. Works in the pipeline but out of sync with the source. Possibly something we try to catch via linting.

Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
},
"./package.json": "./package.json",
"./*": {
"types": "./entireMetricsCollection/*/index.d.ts",
"import": "./entireMetricsCollection/*/index.mjs",
"require": "./entireMetricsCollection/*/index.cjs"
}
Expand Down Expand Up @@ -76,6 +77,7 @@
},
"./package.json": "./package.json",
"./*": {
"types": "./entireMetricsCollection/*/index.d.ts",
"import": "./entireMetricsCollection/*/index.mjs",
"require": "./entireMetricsCollection/*/index.cjs"
}
Expand Down
5 changes: 4 additions & 1 deletion packages/vanilla-extract/tsdown.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { defineConfig } from 'tsdown';
import { baseConfig } from '../../tsdown.base.config.ts';

export default defineConfig(baseConfig);
export default defineConfig({
...baseConfig,
unbundle: true,
});