## ๐ Bug Report It stopped working in NextJS version 14.0.4; is there any configuration example? It worked perfectly in version 13.4.19, but now it's not working. I've already followed the official documentation, but it didn't help ## To Reproduce Upgrading Next from version 13.4.19 to 14.0.4. ## next.config.js ```ts /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, swcMinify: true, } module.exports = { ...nextConfig, images: { dangerouslyAllowSVG: true, contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;", }, webpack(config) { config.module.rules.push({ loader: '@svgr/webpack', options: { prettier: false, svgo: true, svgoConfig: { plugins: [ { name: 'preset-default', params: { overrides: { removeViewBox: false }, }, }, ], }, titleProp: true, }, test: /\.svg$/, }); return config; }, }; ``` ## Expected behavior Load the SVG ## Result ```bash Module not found: Can't resolve 'src/styles/svg/image/any-doubt.svg' ```
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by ecatugy and has received 6 comments.