-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: decouple css-bundle from dev (#6982)
- Loading branch information
1 parent
f1436ea
commit 1e19750
Showing
3 changed files
with
16 additions
and
20 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,7 @@ | ||
--- | ||
"@remix-run/css-bundle": patch | ||
"@remix-run/dev": patch | ||
--- | ||
Decouple the `@remix-run/dev` package from the contents of the `@remix-run/css-bundle` package. | ||
|
||
The contents of the `@remix-run/css-bundle` package are now entirely managed by the Remix compiler. Even though it's still recommended that your Remix dependencies all share the same version, this change ensures that there are no runtime errors when upgrading `@remix-run/dev` without upgrading `@remix-run/css-bundle`. |
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 |
---|---|---|
@@ -1,9 +1,4 @@ | ||
declare const __INJECT_CSS_BUNDLE_HREF__: string | undefined; | ||
|
||
// Injected by `cssBundlePlugin` | ||
let cssBundleHref: string | undefined = | ||
typeof __INJECT_CSS_BUNDLE_HREF__ === "string" | ||
? __INJECT_CSS_BUNDLE_HREF__ | ||
: undefined; | ||
|
||
export { cssBundleHref }; | ||
// This file's contents are replaced by `cssBundlePlugin`. This file only exists | ||
// to provide type definitions and a graceful fallback when importing this | ||
// package outside of the Remix compiler. | ||
export const cssBundleHref: string | undefined = undefined; |
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