Native resolving of a file using require() in pug
In this release all methods compile render html supports native resolving of embedded resources such as images, fonts, etc, using require() in compiled JabaScript context.
But the method compile has the limitation: used variables with properties muss have optional optional chaining ?., e.g. data?.items?.name.
In next release will be used by the method compile the default webpack require(), that has any limitation by resolving a variable in argument of require(), but has no limitation by using the variables in pug.