-
Notifications
You must be signed in to change notification settings - Fork 119
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
_input.charCodeAt is not a function #65
Comments
I see the same thing, also in an Angular 2 app. The component:
and webpack config:
|
You have to use this syntax:
|
@fklingler, thanks for your answer, fixed my issue. Could you please explain why this is the case? |
Unlike pug-html-loader, the It returns a template function (as indicated, maybe not clearly enough, in the README). To have consistency with other loaders, I think it would be great to have an option the loader query to get the string directly instead of the template function. |
@fklingler, thank you! |
Guys,
|
When the website attempts to load the inspector shows the following error:
Uncaught TypeError: this._input.charCodeAt is not a function
Here is my webpack config loader statement:
I am new to webpack, so it may very well be me. I was able to get pug-html-loader working, but would rather stick with the folks that created pug. If it is of any importance, I am using this in an Angular2 app.
The text was updated successfully, but these errors were encountered: