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

extractCss bug in production environment #26

Open
466023746 opened this issue Feb 26, 2018 · 2 comments
Open

extractCss bug in production environment #26

466023746 opened this issue Feb 26, 2018 · 2 comments

Comments

@466023746
Copy link

466023746 commented Feb 26, 2018

<!- description ->

doesn't output css when in production environment, seems a bug in VueAsset generate function.

<!- environment ->

Software Version(s)
parcel-plugin-vue 1.5.0
Parcel 1.5.1

Possible Resolution

async generate() {
        ownDebugger('generate');

        let ret = await super.generate() || {};
        ret.css = this.outputAll.css;
        return ret;
    }
@masonz
Copy link

masonz commented Feb 26, 2018

I tried it and it worked. Maybe you can submit a pull request to the author.

@466023746
Copy link
Author

ok, i will

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants