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

inlineText: true - remove HTML files from output #683

Closed
zolakt opened this issue May 16, 2014 · 2 comments
Closed

inlineText: true - remove HTML files from output #683

zolakt opened this issue May 16, 2014 · 2 comments

Comments

@zolakt
Copy link

zolakt commented May 16, 2014

Hi,

when using the inlineText: true option, all HTML files are generated as JS. However the original HTML files are still copied to the output folder, although they aren't used anymore.

I'm using this for a PhoneGap app, and would like to keep the output as small as possible,

Is there any way using app.build.js to specify the converted HTML files to be deleted in output?

@gsmeets
Copy link

gsmeets commented May 16, 2014

Currently this is not possible. There's already an open issue for this: #344

@jrburke
Copy link
Member

jrburke commented May 19, 2014

Correct, we need #344 implemented, so closing this in favor of using #344 to track this capability.

In the meantime, you could use the onModuleBundleComplete hook to find out what was included, then work out your own post-build deletion scheme. That, or analyze the build.txt file in the output folder, if it is not a single file JS optimization.

@jrburke jrburke closed this as completed May 19, 2014
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