Skip to content

[Feature Request] Option to prevent the actual file from being emitted #74

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

Closed
ferdinando-ferreira opened this issue Mar 30, 2018 · 3 comments

Comments

@ferdinando-ferreira
Copy link

Thanks for the excellent module.

Is it possible to have an option similar to file-loader emitFile? The use case is the generation of the server side versions of packages, same use case as the one in the file-loader and the effect is to prevent the actual generation of the file (as it won't actually be used).

Best regards

@bebraw
Copy link

bebraw commented Mar 30, 2018

Yup, that would be valuable.

I did something related at #57 but it's a different approach. The point was to provide an extension point where you could do these sort of things.

@ferdinando-ferreira
Copy link
Author

For the moment I ended up using the plugin located at Ignore Emit Webpack plugin
, sinking all the css emitted after the build phase.
Would be nice to have it as a configuration in this plugin but that solves the problem fine so I'm closing the issue

@pravdomil
Copy link

@ferdinando-ferreira can you please reopen the issue? because I missing emitFile option in this package

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

3 participants