Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compatible the css-loader of new version #49

Closed
8bitBelief opened this issue Oct 24, 2020 · 6 comments
Closed

compatible the css-loader of new version #49

8bitBelief opened this issue Oct 24, 2020 · 6 comments

Comments

@8bitBelief
Copy link

the css-loader of new version use esModule default,but vue-style-loader not recognized.we should set esModule false of css-loader to use it.so,hope to update vue-style-loader

@lightyisu
Copy link

the css-loader of new version use esModule default,but vue-style-loader not recognized.we should set esModule false of css-loader to use it.so,hope to update vue-style-loader

I have some problem When I use webpack to build a project by vue SFC.I use ['vue-style-loader','css-loader'] to handle The .css and They are The latest version.The code in and <script> works good and render correctly But The code in <style> doesn' t work.and it seems The vue-style-loader doesn't work.Is that what's causing the problem?Thank YOU.

@cjblomqvist
Copy link

cjblomqvist commented Nov 3, 2020

See #46 and #47

@8bitBelief
Copy link
Author

the css-loader of new version use esModule default,but vue-style-loader not recognized.we should set esModule false of css-loader to use it.so,hope to update vue-style-loader

I have some problem When I use webpack to build a project by vue SFC.I use ['vue-style-loader','css-loader'] to handle The .css and They are The latest version.The code in and <script> works good and render correctly But The code in <style> doesn' t work.and it seems The vue-style-loader doesn't work.Is that what's causing the problem?Thank YOU.

yes,you can ust style-loader or set the option esModule to false of css-loader

@cjblomqvist
Copy link

@8bitBelief - agree, but why aren't you merging in #47 to get rid of this problem once and for all? (I assume you have merge rights since you can close issues?)

@privatenumber
Copy link

privatenumber commented Nov 11, 2020

@cjblomqvist

I don't think he's a core member. Issue authors can close their own issues.

Best we can do is ping Vue/Evan on the PR or Twitter.

@cjblomqvist
Copy link

Ah, my bad!

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

No branches or pull requests

4 participants