@webdiscus/pug-loader
Advanced tools
Changelog
1.8.0 (2022-03-05)
- var file = './subdir/image.jpg';
img(src=require(file))
- var file = require('./subdir/image.jpg');
img(src=file)
js
and json
files in pugChangelog
1.7.4 (2022-02-20)
Changelog
1.7.3 (2022-02-19)
Changelog
1.7.2 (2022-02-19)
Changelog
1.7.0 (2022-02-07)
compile
by resolving a variable in the argument
of require() used in pug, see resolve resources .render
and html
are not affected.compile
method to fix issue undefined variable
undefined variable
for method compile
by use the variables in pug w/o optional chainingcompile
and render
methodsChangelog
1.6.4 (2022-01-31)
htmlWebpackPlugin.options
in pug template, #8Changelog
1.6.3 (2022-01-25)