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 |
||
---|---|---|
.. | ||
.stats-app | ||
acceptance | ||
eslint-plugin-next | ||
integration | ||
isolated | ||
lib | ||
package-managers/pnpm | ||
unit | ||
.babelrc | ||
.gitignore | ||
jest-environment.js | ||
jest-global-setup.js | ||
jest-global-teardown.js | ||
jest-setup-after-env.js | ||
test-file.txt | ||
tsconfig.json |