-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bundle
.d.ts
files when building project (#854)
* ensure VS Code uses the same version of TypeScript as the project * bundle .d.ts files as part of build process * add a changeset * expose `ResponsiveArray` * replace `tsup` implementation with `rollup-plugin-dts` * rename some vars * remove the exception for `@vanilla-extract/private` * Revert "remove the exception for `@vanilla-extract/private`" This reverts commit e009da9. * update changesets * defer the overwrite until all bundles are ready Co-authored-by: mattcompiles <mattjones701@gmail.com>
- Loading branch information
1 parent
31c5ff5
commit 98f8b03
Showing
8 changed files
with
354 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@vanilla-extract/sprinkles': patch | ||
--- | ||
|
||
Expose `ResponsiveArray` so `.d.ts` bundling works correctly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@vanilla-extract/css': patch | ||
'@vanilla-extract/css-utils': patch | ||
'@vanilla-extract/dynamic': patch | ||
'@vanilla-extract/sprinkles': patch | ||
--- | ||
|
||
Bundle TypeScript declaration files (`.d.ts`) when building packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.