-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
I'm using Webpack with Handlebars-loader, where helpers included using option 'helperDirs'.
My test code is:
{{#each (glob "*") as |file|}}
test
{{/each}}
Compile is without any errors (all required packages are installed).
The full error when opening page is:
Html Webpack Plugin:
TypeError: isWindows is not a function
- index.hbs:12995 fallback
C:/xampp/htdocs/project/src/index.hbs:12995:7
- index.hbs:12984 getPrefix
C:/xampp/htdocs/project/src/index.hbs:12984:20
- index.hbs:13034 Object.get [as exports]
C:/xampp/htdocs/project/src/index.hbs:13034:32
- index.hbs:27 __webpack_require__
C:/xampp/htdocs/project/src/index.hbs:27:25
- index.hbs:12912 Object.
C:/xampp/htdocs/project/src/index.hbs:12912:14
- index.hbs:12934 Object.
C:/xampp/htdocs/project/src/index.hbs:12934:30
- index.hbs:21 __webpack_require__
C:/xampp/htdocs/project/src/index.hbs:21:30
- index.hbs:12815 Object.
C:/xampp/htdocs/project/src/index.hbs:12815:10
- index.hbs:21 __webpack_require__
C:/xampp/htdocs/project/src/index.hbs:21:30
- index.hbs:8134 Object.
C:/xampp/htdocs/project/src/index.hbs:8134:15
After removing helper code - all works perfectly