rsnext/packages/next/types
Steven c35b01a631
Omit svg static imports if custom webpack config is defined (#26281)
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
2021-06-18 00:40:22 +00:00
..
global.d.ts Omit svg static imports if custom webpack config is defined (#26281) 2021-06-18 00:40:22 +00:00
index.d.ts fix(types): allow nonpromise return types for static functions (#24685) 2021-05-25 10:35:21 +00:00
misc.d.ts Babel fast mode (#23760) 2021-04-08 12:03:02 +00:00
webpack.d.ts Upgrade eslint to the latest version (#24377) 2021-04-25 18:34:36 +00:00