Require it from javascript using webpack plugin with monkberry-loader
Compile, got me into the following error,
[1] ERROR in ./src/componentA/view.monk
[1] (Emitted value instead of an instance of Error) Parse error on line 14:
[1] ...ect a Value</option> <
[1] -----------------------^
[1] Expecting '-->', got 'COMMENT'
[1] @ ./src/componentA/index.js 13:12-34
[1] @ ./src/main.js
What to expect?
A valid multi line comment, that hopefully cover commenting monkberry template syntax too, like <!-- {% if (true) %} -->.
How to reproduce?
Create a
.monk
file with comment that span lines,Require it from javascript using webpack plugin with
monkberry-loader
Compile, got me into the following error,
What to expect?
A valid multi line comment, that hopefully cover commenting monkberry template syntax too, like
<!-- {% if (true) %} -->
.Toolkit Version