Closed decahedron1 closed 1 year ago
In my case when using rollup with grunt writeFile cannot finish its write operations before build process is finished, so I get my bundle.css file with no any content. Using writeFileSync makes it work as expected, but I believe using rollup emit is even better way of fixing it
Would be nice to see this become available.
Resolved in #98
Emitting the file through Rollup's
.emitFile
method allows it to be picked up by other plugins, such as@rollup/plugin-html
, which properly<link>
s the outputted CSS.