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

Allow to import CSS from node_modules #331

Open
haggen opened this issue Jan 10, 2020 · 0 comments
Open

Allow to import CSS from node_modules #331

haggen opened this issue Jan 10, 2020 · 0 comments

Comments

@haggen
Copy link

haggen commented Jan 10, 2020

Any particular reason we're excluding CSS loader from node_modules?

https://github.com/netlify-templates/victor-hugo/blob/master/webpack.common.js#L32-L36

This way I'm unable to import CSS packages from my index.js. I understand I could still import them from my CSS files but I find this indirect chain of imports harder to reason -- this import that that import that other thing.

Would we run into any issues by removing this exclude rule? Thanks in advance.

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