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

webpack2 support #52

Closed
quanru opened this issue Apr 1, 2017 · 1 comment
Closed

webpack2 support #52

quanru opened this issue Apr 1, 2017 · 1 comment

Comments

@quanru
Copy link

quanru commented Apr 1, 2017

My tpl file content are:

{% for item in items %}
<li data-index="{{ loop.index }}">{{ item }}</li>
{% endfor %}

It's transformed to:

module.exports = "{% for item in items %}\n<li data-index=\"{{ loop.index }}\">{{ item }}</li>\n{% endfor %}\n";
@at0g
Copy link
Owner

at0g commented Apr 2, 2017

Can you clarify what the issue is - specifically how webpack 2 is not supported?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants