Skip to content

Commit

Permalink
remove useless SVGR tests
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Nov 14, 2024
1 parent 0b93cdb commit 87fd316
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 256 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,54 +52,3 @@ exports[`base webpack config creates webpack aliases 1`] = `
"react-dom": "../../../../../../../node_modules/react-dom",
}
`;

exports[`base webpack config uses svg rule 1`] = `
{
"oneOf": [
{
"issuer": {
"and": [
/\\\\\\.\\(\\?:tsx\\?\\|jsx\\?\\|mdx\\?\\)\\$/i,
],
},
"use": [
{
"loader": "<PROJECT_ROOT>/node_modules/@svgr/webpack/dist/index.js",
"options": {
"prettier": false,
"svgo": true,
"svgoConfig": {
"plugins": [
{
"name": "preset-default",
"params": {
"overrides": {
"removeTitle": false,
"removeViewBox": false,
},
},
},
],
},
"titleProp": true,
},
},
],
},
{
"use": [
{
"loader": "<PROJECT_ROOT>/node_modules/url-loader/dist/cjs.js",
"options": {
"emitFile": true,
"fallback": "<PROJECT_ROOT>/node_modules/file-loader/dist/cjs.js",
"limit": 10000,
"name": "assets/images/[name]-[contenthash].[ext]",
},
},
],
},
],
"test": /\\\\\\.svg\\$/i,
}
`;
Loading

0 comments on commit 87fd316

Please sign in to comment.