#Couple of issues with `build.assetsInlineLimit: 0`

1 messages · Page 1 of 1 (latest)

timber totem
#

Managed to solve second issue by adding include: "**/*.js", to inject's configuration. First point remains for development. It works when built, but not for dev server. Is that because of pnpm perhaps?

timber totem
#

What is interesting is that if I remove build.assetsInlineLimit: 0 configuration then vite must be seeing those files bacaus they get inlined. What gives?

#

Oh, only dawned on me now. This is part of build. so why would it even affect dev server?

#

Disabling server.fs.strict didn't help either.

timber totem
#

Ah, I also just noticed that if I do GET on http://localhost:5173/static/node_modules/bootstrap-icons/icons/sort-up.svg it works just fine.