underscore-template-loader icon indicating copy to clipboard operation
underscore-template-loader copied to clipboard

webpack 4.29.0 building error about using 'with' stament

Open ghost opened this issue 6 years ago • 1 comments

Hey, I am trying to use the loader for backbone/marionette project I am getting an error in the console says Uncaught SyntaxError: Strict mode code may not include a with statement and the build doesn't work. I am not sure 100.1% from the reason or if this error is the only issue I have in my code, but I tried to isolate the issue by using just one simple of booth js+html

ghost avatar Mar 05 '19 23:03 ghost

I meet this question too when I build as a component to use. How did you fix it?

tvxqljw avatar Aug 11 '21 08:08 tvxqljw