Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Javascript assets included in CSS modules are executed during build #465

Closed
darrenscerri opened this issue Mar 22, 2017 · 1 comment
Closed

Comments

@darrenscerri
Copy link

If CSS contains Javascript assets, these are executed during build and can interfere with the build and build output.

See this repo for more information: https://github.com/darrenscerri/webpack-extract-text-plugin-empty-require-error.

Related issues:
webpack/webpack#4541
webpack-contrib/css-loader#462

@michael-ciniawsky
Copy link
Member

michael-ciniawsky commented Apr 22, 2017

url('') will be rewritten to url(require('./')) by css-loader, it's an issue in css-loader tracking this an discussion moved to #462 I'm still wondering about the 'usecase' 🙃

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