GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||
GeezerVison is showing github.com — fix(rsc): keep CSS wrappers out of a trailing comment when a module has no final newline (fix #1495) by Mheaus · Pull Request #1494 · vitejs/vite-plugin-react Conversation
|
| // MagicString needs an existing boundary at the move destination. The newline | |
| // also keeps the first appended declaration separate from the original source. | |
| if (!input.endsWith('\n')) { | |
| input += '\n' | |
| } |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Of course 👌 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
plugin-rsc: a server component's CSS is not linked in production when its module has no final newline
There was an error while loading. Please reload this page.