Closed debs-obrien closed 3 years ago
tested with this: imageFileLoader: false but still same error
Thank you, will take a look tomorrow.
actually adding imageFileLoader: false inside features as per docs 🙈 does work
@loonpwn is there any way to exclude only specific files and not all images?
@loonpwn is there any way to exclude only specific files and not all images?
Hey @AndrewBogdanovTSS
Would you mind sharing your use case for that behaviour? The replacement of the url-loader
for file-loader
should have no side effects on your app (assuming you are using the latest version).
If it is causing some issues then maybe there is something deeper I can look into fixing for you.
Otherwise as Debbie has said above, you can manually disable this feature using the config.
buildOptimisations: {
//...
features: {
imageFileLoader: false
}
}
@loonpwn I would only like to disable it for one file which is generated from @nuxtjs/svg-sprite
- icons.svg, other files seems to have no issues with imageFileLoader
Describe the bug Dev server doesn't work
To Reproduce Steps to reproduce the behavior:
Expected behavior Generate works but dev doesn't
Screenshots
Additional context Don't see any improvements in speed, removed node modules and yarn lock. Generation takes same time and dev takes same time but then breaks