With scope hoisting on, the output is correct (as seen in dist-correct/index.[hash].css
).
With scope hoisting off, the output is empty, even though the classes are used (as seen in dist-bug/index.[hash].css
).
A repo to demonstrate a bug where --no-scope-hoist removes needed CSS
HTML
With scope hoisting on, the output is correct (as seen in dist-correct/index.[hash].css
).
With scope hoisting off, the output is empty, even though the classes are used (as seen in dist-bug/index.[hash].css
).