Replies: 1 comment
-
|
Hello @elldur,
I don't know what is received and what is expected exactly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Despite
{test: /\.(ico|svg|png|ttf|json)$/, type: "asset/resource"}being in webpack config. Loading works correctly when importing in javascript (using import not require). The problem is fixed by using a different extension e.g..webmanifest.requiretreats json differently even outside of pug but the solutions I found involve changingrequire.extensionswhich does not exist in pug since require seems to be a wrapper formod.requirewhich is not accessible within pug.Is there a way around this other than changing the extension?
Beta Was this translation helpful? Give feedback.
All reactions