Skip to content

Commit

Permalink
Update flight-manifest-plugin.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Hendrik Liebau <mail@hendrik-liebau.de>
  • Loading branch information
gaojude and unstubbable authored Nov 20, 2024
1 parent 4cbdddd commit 3ec0b7c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,9 @@ export class ClientReferenceManifestPlugin {
const source = compilation.assets[file].source()
if (
this.experimentalInlineCss &&
// Inline CSS currently does not work in Turbopack HMR, so we only inline
// CSS in production.
process.env.NODE_ENV === 'production'
// Inline CSS currently does not work properly with HMR, so we only
// inline CSS in production.
!this.dev
) {
return {
inlined: true,
Expand Down

0 comments on commit 3ec0b7c

Please sign in to comment.