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

Style import doesn't work if async import used #29

Open
mikkiek opened this issue Mar 5, 2018 · 1 comment
Open

Style import doesn't work if async import used #29

mikkiek opened this issue Mar 5, 2018 · 1 comment

Comments

@mikkiek
Copy link

mikkiek commented Mar 5, 2018

I'm having an issue if i'm using async import and css import.
Seems it's issue related to HMR

index.js

import './bug.css';

setTimeout(() => {
    import('./test')
        .then(module => console.log(module))
    ;
}, 1000);

Issue
http://prntscr.com/imy88a
http://prntscr.com/imy8fk

Software Version(s)
parcel-plugin-vue BoltDoggy/parcel-plugin-vue#develop
Parcel 1.6.2
Vue 2.5.13
Node 9.3.0
@mikkiek
Copy link
Author

mikkiek commented Mar 5, 2018

I've created PR #30 , hope it will help.

Thank you

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

1 participant