Closed ghost closed 6 months ago
Hello @racc-ode,
please close the issue by Webpack, because you use the Pug Plugin. Can you please create a small repo with reproducible issue, then I can help you.
@webdiscus
Here it goes: https://api.raccode.com/gitea/raccode/proximojs, thanks in advance!
@racc-ode
yes, I can reproduce the issue if I edit the src/lib/GlobalState.js
file.
I try to research the problem.
Sure @webdiscus, thanks mate.
It isn't a critical problem, only slows down a bit development.
I appreciate it, good job with the plugin and thanks again!
@racc-ode
I'm currently working on the next-gen
version which will be based on the very powerful universal my other html-bundler-webpack-plugin.
The new pug-plugin 5 will have all features of the html-bundler-webpack-plugin
where as the defaults preprocessor
will be used the Pug
.
New features will be available in the Pug Plugin 5:
require()
<link rel="preload">
tags to preload assetslink
and script
tags@racc-ode
I have tested this use case with html-bundler-webpack-plugin . After changes in the imported JS file, It works w/o error.
Therefore, this issue will be fixed in the next major version v5
, because the code base of the next version will be switched on the bundler plugin to improve the pug plugin.
@racc-ode
the new pug plugin v5.0.0
is released and based on the html-bundler-webpack-plugin
The issue should be fixed automatically with the release v5.0.0
.
I posted this issue in the webpack repo but I was wondering if this has something to do with the PugPlugin, any clue?
Original text from https://github.com/webpack/webpack/issues/17832