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 |
||
---|---|---|
.. | ||
babel | ||
output | ||
polyfills | ||
profiler | ||
webpack | ||
compiler.ts | ||
entries.ts | ||
generate-build-id.ts | ||
index.ts | ||
is-writeable.ts | ||
spinner.ts | ||
utils.ts | ||
webpack-config.ts | ||
write-build-id.ts |