rsnext/packages/next/compiled/babel
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
..
bundle.js Omit svg static imports if custom webpack config is defined (#26281) 2021-06-18 00:40:22 +00:00
code-frame.js ncc 0.25.0 upgrade and fixes (#18873) 2020-11-06 02:33:14 +00:00
core-lib-block-hoist-plugin.js Babel fast mode (#23760) 2021-04-08 12:03:02 +00:00
core-lib-config.js Babel fast mode (#23760) 2021-04-08 12:03:02 +00:00
core-lib-normalize-file.js Babel fast mode (#23760) 2021-04-08 12:03:02 +00:00
core-lib-normalize-opts.js Babel fast mode (#23760) 2021-04-08 12:03:02 +00:00
core-lib-plugin-pass.js Babel fast mode (#23760) 2021-04-08 12:03:02 +00:00
core.js ncc 0.25.0 upgrade and fixes (#18873) 2020-11-06 02:33:14 +00:00
eslint-parser.js Adds ESLint with default rule-set (#23702) 2021-04-30 11:09:07 +00:00
generator.js Babel fast mode (#23760) 2021-04-08 12:03:02 +00:00
LICENSE ncc 0.25.0 upgrade and fixes (#18873) 2020-11-06 02:33:14 +00:00
package.json ncc 0.25.0 upgrade and fixes (#18873) 2020-11-06 02:33:14 +00:00
plugin-proposal-class-properties.js ncc 0.25.0 upgrade and fixes (#18873) 2020-11-06 02:33:14 +00:00
plugin-proposal-export-namespace-from.js ncc 0.25.0 upgrade and fixes (#18873) 2020-11-06 02:33:14 +00:00
plugin-proposal-numeric-separator.js ncc 0.25.0 upgrade and fixes (#18873) 2020-11-06 02:33:14 +00:00
plugin-proposal-object-rest-spread.js ncc 0.25.0 upgrade and fixes (#18873) 2020-11-06 02:33:14 +00:00
plugin-syntax-bigint.js ncc 0.25.0 upgrade and fixes (#18873) 2020-11-06 02:33:14 +00:00
plugin-syntax-dynamic-import.js ncc 0.25.0 upgrade and fixes (#18873) 2020-11-06 02:33:14 +00:00
plugin-syntax-jsx.js ncc 0.25.0 upgrade and fixes (#18873) 2020-11-06 02:33:14 +00:00
plugin-transform-define.js feat: Webpack loader inlining (#21127) 2021-01-15 01:51:45 +00:00
plugin-transform-modules-commonjs.js ncc 0.25.0 upgrade and fixes (#18873) 2020-11-06 02:33:14 +00:00
plugin-transform-react-remove-prop-types.js feat: Webpack loader inlining (#21127) 2021-01-15 01:51:45 +00:00
plugin-transform-runtime.js ncc 0.25.0 upgrade and fixes (#18873) 2020-11-06 02:33:14 +00:00
preset-env.js ncc 0.25.0 upgrade and fixes (#18873) 2020-11-06 02:33:14 +00:00
preset-react.js ncc 0.25.0 upgrade and fixes (#18873) 2020-11-06 02:33:14 +00:00
preset-typescript.js ncc 0.25.0 upgrade and fixes (#18873) 2020-11-06 02:33:14 +00:00
traverse.js Babel fast mode (#23760) 2021-04-08 12:03:02 +00:00