@dr.pogodin/babel-preset-svgr
Advanced tools
Comparing version 1.0.10 to 1.1.0
@@ -25,2 +25,5 @@ const path = require('path'); | ||
], | ||
svgoConfig: { | ||
plugins: [{ removeViewBox: false }], | ||
}, | ||
}); | ||
@@ -27,0 +30,0 @@ |
{ | ||
"name": "@dr.pogodin/babel-preset-svgr", | ||
"version": "1.0.10", | ||
"description": "Babel preset for SVG inclusion into React apps using Babel and SVGR.", | ||
"version": "1.1.0", | ||
"description": "Babel preset for SVG import into React apps.", | ||
"main": "index.js", | ||
@@ -32,15 +32,15 @@ "scripts": { | ||
"devDependencies": { | ||
"@babel/core": "^7.9.6", | ||
"@babel/preset-env": "^7.9.6", | ||
"@babel/preset-react": "^7.9.4", | ||
"@babel/core": "^7.11.6", | ||
"@babel/preset-env": "^7.11.5", | ||
"@babel/preset-react": "^7.10.4", | ||
"babel-eslint": "^10.1.0", | ||
"babel-jest": "^25.2.6", | ||
"eslint": "^6.8.0", | ||
"eslint-config-airbnb": "^18.1.0", | ||
"eslint-plugin-import": "^2.20.2", | ||
"eslint-plugin-jest": "^23.8.2", | ||
"eslint-plugin-jsx-a11y": "^6.2.3", | ||
"eslint-plugin-react": "^7.19.0", | ||
"eslint-plugin-react-hooks": "^3.0.0", | ||
"jest": "^25.2.7", | ||
"babel-jest": "^26.3.0", | ||
"eslint": "^7.8.1", | ||
"eslint-config-airbnb": "^18.2.0", | ||
"eslint-plugin-import": "^2.22.0", | ||
"eslint-plugin-jest": "^24.0.0", | ||
"eslint-plugin-jsx-a11y": "^6.3.1", | ||
"eslint-plugin-react": "^7.20.6", | ||
"eslint-plugin-react-hooks": "^4.1.0", | ||
"jest": "^26.4.2", | ||
"react": "^16.13.1", | ||
@@ -56,4 +56,4 @@ "react-dom": "^16.13.1" | ||
"peerDependencies": { | ||
"@babel/parser": "^7.6.2" | ||
"@babel/parser": "^7.11.5" | ||
} | ||
} |
@@ -10,5 +10,5 @@ ![Latest NPM Release](https://img.shields.io/npm/v/@dr.pogodin/babel-preset-svgr.svg) | ||
[SVGR](https://github.com/smooth-code/svgr) is the most popular library for | ||
SVG images embed into React applications (~1.8M weekly downloads). | ||
importing SVG images into React applications (~1.8M weekly downloads). | ||
It provides SVG Webpack loader, Node API, and CLI tool, but there was no | ||
way before to use it with Babel (see https://github.com/smooth-code/svgr/issues/306, | ||
way to use it with Babel (see https://github.com/smooth-code/svgr/issues/306, | ||
https://github.com/smooth-code/svgr/issues/252). | ||
@@ -15,0 +15,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11353
52