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

Inline html templates? #56

Open
jimitndiaye opened this issue Feb 23, 2016 · 1 comment
Open

Inline html templates? #56

jimitndiaye opened this issue Feb 23, 2016 · 1 comment

Comments

@jimitndiaye
Copy link

For prod builds it might be worthwhile to inline the templates. gulp has gulp-inline-ng2-template for instance. I'm not sure if it is possible to do the same via a webpack loader.

@alexpods
Copy link
Owner

@jimitndiaye templates are already inlined by webpack. Check out dist/public/browser.js for example. You'll find inlined templates in the bottom of the file (it's not minified, production builds are coming, but not yet supported).

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