Open mikestopcontinues opened 3 years ago
Next 11 now has built in image loaders that get in the way of this plugin. You can do something like this:
cfg.module.rules[2] = { oneOf: [ { test: /\.svg$/, use: ['@svgr/webpack'], }, cfg.module.rules[2], ], };
You can also yarn add next@canary as this is fixed in the v11.0.1 release.
yarn add next@canary
Next 11 now has built in image loaders that get in the way of this plugin. You can do something like this: