mini-css-extract-plugin testcase

Initial CSS: Must be green

Hot Module Replacement

RED
GREEN
BLUE

Hot Module Replacement + CSS modules

RED
GREEN
BLUE

Lazy CSS: Must be red, but turn green when
.

But turn orange, when
. Additional clicks have no effect.

Refresh and press buttons in reverse order: This should turn green instead.

Lazy CSS Module: Must be red, but turn green when
.

Lazy CSS: Turn off the network and
.

An error should have appeared.

Now if you turn the network back on and click it again, it should turn aqua.

Preloaded CSS: Must be green.

displays an alert but has no styling effect.

Preloaded inlined CSS: Must be green.

displays an alert but has no styling effect.

CrossOriginLoading Option: Must be red.

loads chunks with crossorigin attribute and should turn green.