Skip to content
This repository has been archived by the owner on Dec 26, 2018. It is now read-only.

Prevent empty css #218

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Prevent empty css #218

wants to merge 1 commit into from

Commits on Jan 29, 2018

  1. Prevent empty css

    Problems addressed:
    - 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.
    pedro-mm-pereira authored Jan 29, 2018
    Configuration menu
    Copy the full SHA
    11652bf View commit details
    Browse the repository at this point in the history