revert svg loader

This commit is contained in:
David Sun 2019-11-23 20:48:09 -05:00 committed by Jacob Evans
parent 3d5b229c46
commit 9f32347c01
No known key found for this signature in database
GPG Key ID: 2036DA2ADDFB0842
2 changed files with 3 additions and 12 deletions

View File

@ -44,7 +44,7 @@
"homepage": "https://github.com/0xProject/0x-monorepo/packages/instant/README.md", "homepage": "https://github.com/0xProject/0x-monorepo/packages/instant/README.md",
"dependencies": { "dependencies": {
"@0x/assert": "^2.2.0-beta.2", "@0x/assert": "^2.2.0-beta.2",
"@0x/asset-swapper": "^2.1.0-beta.2", "@0x/asset-swapper": "^2.1.0-beta.3",
"@0x/json-schemas": "^4.1.0-beta.2", "@0x/json-schemas": "^4.1.0-beta.2",
"@0x/order-utils": "^8.5.0-beta.3", "@0x/order-utils": "^8.5.0-beta.3",
"@0x/subproviders": "^5.1.0-beta.2", "@0x/subproviders": "^5.1.0-beta.2",
@ -61,7 +61,6 @@
"react": "^16.5.2", "react": "^16.5.2",
"react-dom": "^16.5.2", "react-dom": "^16.5.2",
"react-redux": "^5.0.7", "react-redux": "^5.0.7",
"react-svg-loader": "^3.0.3",
"redux": "^4.0.0", "redux": "^4.0.0",
"redux-devtools-extension": "^2.13.5", "redux-devtools-extension": "^2.13.5",
"rollbar": "^2.5.0", "rollbar": "^2.5.0",
@ -100,6 +99,7 @@
"rollbar-sourcemap-webpack-plugin": "^2.4.0", "rollbar-sourcemap-webpack-plugin": "^2.4.0",
"shx": "^0.2.2", "shx": "^0.2.2",
"source-map-loader": "^0.2.4", "source-map-loader": "^0.2.4",
"svg-react-loader": "^0.4.6",
"ts-jest": "^23.10.3", "ts-jest": "^23.10.3",
"tslint": "5.11.0", "tslint": "5.11.0",
"typescript": "3.0.1", "typescript": "3.0.1",

View File

@ -150,16 +150,7 @@ const generateConfig = (dischargeTarget, heapConfigOptions, rollbarConfigOptions
}, },
{ {
test: /\.svg$/, test: /\.svg$/,
use: [ loader: 'svg-react-loader',
{
loader: 'react-svg-loader',
options: {
svgo: {
plugins: [{ removeViewBox: false }],
},
},
},
],
}, },
{ {
test: /\.js$/, test: /\.js$/,