You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR in Template execution failed: ReferenceError: str is not defined
ERROR in ReferenceError: str is not defined
- index.html:11
G:/Project/others/windicss-webpack-example-master/public/index.html:11:10
- index.html:14 module.exports
G:/Project/others/windicss-webpack-example-master/public/index.html:14:3
- index.js:450
[windicss-webpack-example-master]/[html-webpack-plugin]/index.js:450:16
- task_queues:95 process.processTicksAndRejections
node:internal/process/task_queues:95:5
- async Promise.all
Expected behavior
Build successfully
Screenshots
The text was updated successfully, but these errors were encountered:
I have created a pull request linked to the issue. This is my first time raising an issue and pull request. If there's anything wrong please let me know😂
Describe the bug
This plugin overrides some of the htmlWebpackPlugin options. This may lead to an error when building if you use the es6 syntax
${}
.e.g.
To Reproduce
My Node.js version is set to 18.12.0. I think >= 14.18.0 can also reproduce the problem.
Steps to reproduce the behavior:
.zip
file from repository https://github.com/evankwolf/windicss-webpack-examplenpm install
thennpm run build
Expected behavior
Build successfully
Screenshots
The text was updated successfully, but these errors were encountered: