Open
Description
Version
15.7.0
Reproduction link
https://codesandbox.io/s/vmlxvlwo4l
Steps to reproduce
- edit example/source.vue with an empty css module block
- yarn dev
What is expected?
The text "hello" rendered correctly ( as before 15.5.1 ). with warnings in console.
Or, emit a compile error about empty css module block
What is actually happening?
Compiled successfully.
Runtime error in page: Cannot read property 'red' of undefined
Possible solutions:
- emit error on empty css module block.
- generate empty normally ( as before 15.5.1 ), then emit warning.
Metadata
Metadata
Assignees
Labels
No labels