When there are no styles on a Vue single-file-component and there is an out path defined in the extract-css plugin, the file is created anyway.
When the directory provided by the out path doesn't exist, the css file isn't created and the write action silently fails.
This proposal tries to block the write action on empty styles (can be bypassed with the allowEmpty option) and creates the directory if it does not exist.
Problems addressed:
This proposal tries to block the write action on empty styles (can be bypassed with the allowEmpty option) and creates the directory if it does not exist.