Closed xpuu closed 3 years ago
Yea, this error will be fixed by bumping the rollup-plugin-css-chunks dependency in sapper. I forgot to make a pull request for sapper repo.
@PatrickG @benmccann how to get this latest update via npm? It's 0.29.1 in the latest release both here and in npm, however here it was updated in March, while in npm it says "Published 5 months ago" and this dependency update is not applied. It's still ^2.0.2 there.
I don't have permission to cut a new release on this project. It'd probably be faster to migrate to SvelteKit than wait for a release of this project
Thanks. SvelteKit migration is in the plans, for now I'll just resort to the patch-package
then.
Describe the bug & To Reproduce
<div /><style> div { color: red; } </style>
Logs
yarn run dev
yarn run build
Expected behavior It should work :)
Severity Blocking
Additional context I found a reference to the same bug here https://github.com/domingues/rollup-plugin-css-chunks/issues/21. It seems that the problem was in this plugin. May be the solution is simple - upgrading dependency in Sapper.