rsnext/test
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
..
.stats-app Remove React version checks and warnings that are no longer needed (#25992) 2021-06-14 19:34:53 +00:00
acceptance Add helpful error for link with multiple children (#25657) 2021-05-31 19:41:57 +00:00
eslint-plugin-next ESLint Plugin: Fix Document and Head import rules (#25730) 2021-06-07 12:40:28 +02:00
integration Omit svg static imports if custom webpack config is defined (#26281) 2021-06-18 00:40:22 +00:00
isolated Load next.config.js async (#22578) 2021-02-27 00:29:32 +00:00
lib Ensure has query encoding is normalized (#25732) 2021-06-17 10:52:11 -05:00
package-managers/pnpm Add pnpm integration test (#17882) 2021-01-11 17:50:12 +01:00
unit Fix react@next and react@experimental tests (#26088) 2021-06-14 14:40:15 -05:00
.babelrc Include all files in Prettier (#17050) 2020-09-14 02:53:19 +00:00
.gitignore Universal Webpack (#3578) 2018-01-30 16:44:44 +01:00
jest-environment.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
jest-global-setup.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
jest-global-teardown.js Update CI/test set up (#9499) 2019-11-25 13:19:45 -05:00
jest-setup-after-env.js Only retry tests on CI (#12998) 2020-05-17 12:10:02 -04:00
test-file.txt Add additional file serving tests (#12479) 2020-05-04 11:58:19 -05:00
tsconfig.json Update tsconfig for tests 2020-01-21 15:29:39 -06:00