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

remove .html files after optimization #887

Closed
lzl124631x opened this issue Jan 29, 2016 · 1 comment
Closed

remove .html files after optimization #887

lzl124631x opened this issue Jan 29, 2016 · 1 comment

Comments

@lzl124631x
Copy link

I use 'text' plugin to read html strings from .html files. After optimization, the .html files are already injected into the built js file and become useless. I want to remove them after optimization.

Setting removeCombined config can help you remove the js files that has been combined, but doesn't work for .html files.

Is there a easy way to delete the .html files? Or should I use onModuleBundleComplete to manually delete those HTMLs?

@jrburke
Copy link
Member

jrburke commented Jan 29, 2016

Allowing removeCombined support for loader plugin resources is #344. I am not sure when it will be addressed though, could be a few months. Closing this bug as a duplicate of that other, it has more context too.

@jrburke jrburke closed this as completed Jan 29, 2016
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

2 participants