c35b01a631
This PR does a couple things: 1. Omit svg static imports if the user has defined custom webpack config with svg rule 2. Change TS type to `any` for svg imports to avoid conflicts with other plugins The idea is that some users want to use `next/image` with static imports for most image types but not for svg and instead inline those images with a plugin. - Fixes #25950 - Fixes #26130 - Fixes #26176 - Fixes #26196 - Fixes #26067 ## Bug - [x] Related issues linked using Fixes #26130 - [x] Integration tests added |
||
---|---|---|
.. | ||
bundle.js | ||
code-frame.js | ||
core-lib-block-hoist-plugin.js | ||
core-lib-config.js | ||
core-lib-normalize-file.js | ||
core-lib-normalize-opts.js | ||
core-lib-plugin-pass.js | ||
core.js | ||
eslint-parser.js | ||
generator.js | ||
LICENSE | ||
package.json | ||
plugin-proposal-class-properties.js | ||
plugin-proposal-export-namespace-from.js | ||
plugin-proposal-numeric-separator.js | ||
plugin-proposal-object-rest-spread.js | ||
plugin-syntax-bigint.js | ||
plugin-syntax-dynamic-import.js | ||
plugin-syntax-jsx.js | ||
plugin-transform-define.js | ||
plugin-transform-modules-commonjs.js | ||
plugin-transform-react-remove-prop-types.js | ||
plugin-transform-runtime.js | ||
preset-env.js | ||
preset-react.js | ||
preset-typescript.js | ||
traverse.js |