This repository was archived by the owner on Apr 6, 2023. It is now read-only.
File tree 3 files changed +3
-2
lines changed
packages/nuxt/src/core/runtime/nitro 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ export default defineRenderHandler(async (event) => {
205
205
const renderedMeta = await ssrContext . renderMeta ?.( ) ?? { }
206
206
207
207
// Render inline styles
208
- const inlinedStyles = process . env . NUXT_INLINE_STYLES
208
+ const inlinedStyles = process . env . NUXT_INLINE_STYLES && ! ( process . env . NUXT_NO_SSR || ssrContext . noSSR )
209
209
? await renderInlineStyles ( ssrContext . modules ?? ssrContext . _registeredComponents ?? [ ] )
210
210
: ''
211
211
Original file line number Diff line number Diff line change @@ -598,7 +598,7 @@ describe.skipIf(process.env.NUXT_TEST_DEV || process.env.TEST_WITH_WEBPACK)('inl
598
598
'{--assets:"assets"}' , // <script>
599
599
'{--scoped:"scoped"}' , // <style lang=css>
600
600
'{--postcss:"postcss"}' , // <style lang=postcss>
601
- '{--global:"global"} ' , // entryfile dependency
601
+ '{--global:"global"' , // entryfile dependency
602
602
'{--plugin:"plugin"}' , // plugin dependency
603
603
'{--functional:"functional"}' // functional component with css import
604
604
] ) {
Original file line number Diff line number Diff line change 1
1
: root {
2
2
--global : 'global' ;
3
+ --asset : url ('~/assets/logo.svg' );
3
4
}
You can’t perform that action at this time.
0 commit comments