{
  "manifest": {
    "name": "@svgr/webpack",
    "description": "SVGR webpack loader.",
    "version": "5.5.0",
    "main": "lib/index.js",
    "repository": {
      "type": "git",
      "url": "https://github.com/gregberge/svgr/tree/master/packages/webpack"
    },
    "author": {
      "name": "Greg Bergé",
      "email": "berge.greg@gmail.com"
    },
    "publishConfig": {
      "access": "public"
    },
    "keywords": [
      "svgr",
      "svg",
      "react",
      "webpack",
      "webpack-loader"
    ],
    "engines": {
      "node": ">=10"
    },
    "homepage": "https://react-svgr.com/",
    "funding": {
      "type": "github",
      "url": "https://github.com/sponsors/gregberge"
    },
    "license": "MIT",
    "scripts": {
      "prebuild": "rm -rf lib/",
      "build": "babel --config-file ../../babel.config.js -d lib --ignore \"**/*.test.js\" src",
      "prepublishOnly": "yarn run build"
    },
    "dependencies": {
      "@babel/core": "^7.12.3",
      "@babel/plugin-transform-react-constant-elements": "^7.12.1",
      "@babel/preset-env": "^7.12.1",
      "@babel/preset-react": "^7.12.5",
      "@svgr/core": "^5.5.0",
      "@svgr/plugin-jsx": "^5.5.0",
      "@svgr/plugin-svgo": "^5.5.0",
      "loader-utils": "^2.0.0"
    },
    "devDependencies": {
      "babel-loader": "^8.2.1",
      "memory-fs": "^0.5.0",
      "url-loader": "^4.1.1",
      "webpack": "^5.4.0"
    },
    "gitHead": "b5920550bd966f876cb65c5e23af180461e5aa23",
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-@svgr-webpack-5.5.0-aae858ee579f5fa8ce6c3166ef56c6a1b381b640-integrity/node_modules/@svgr/webpack/package.json",
    "readmeFilename": "README.md",
    "readme": "# @svgr/webpack\n\n[![Build Status](https://img.shields.io/travis/gregberge/svgr.svg)](https://travis-ci.org/gregberge/svgr)\n[![Version](https://img.shields.io/npm/v/@svgr/webpack.svg)](https://www.npmjs.com/package/@svgr/webpack)\n[![MIT License](https://img.shields.io/npm/l/@svgr/webpack.svg)](https://github.com/gregberge/svgr/blob/master/LICENSE)\n\nWebpack loader for SVGR.\n\n```\nnpm install @svgr/webpack --save-dev\n```\n\n## Usage\n\nIn your `webpack.config.js`:\n\n```js\n{\n  test: /\\.svg$/,\n  use: ['@svgr/webpack'],\n}\n```\n\nIn your code:\n\n```js\nimport Star from './star.svg'\n\nconst App = () => (\n  <div>\n    <Star />\n  </div>\n)\n```\n\n### Passing options\n\n```js\n{\n  test: /\\.svg$/,\n  use: [\n    {\n      loader: '@svgr/webpack',\n      options: {\n        native: true,\n      },\n    },\n  ],\n}\n```\n\n### Using with `url-loader` or `file-loader`\n\nIt is possible to use it with [`url-loader`](https://github.com/webpack-contrib/url-loader) or [`file-loader`](https://github.com/webpack-contrib/file-loader).\n\nIn your `webpack.config.js`:\n\n```js\n{\n  test: /\\.svg$/,\n  use: ['@svgr/webpack', 'url-loader'],\n}\n```\n\nIn your code:\n\n```js\nimport starUrl, { ReactComponent as Star } from './star.svg'\n\nconst App = () => (\n  <div>\n    <img src={starUrl} alt=\"star\" />\n    <Star />\n  </div>\n)\n```\n\nThe named export defaults to `ReactComponent`, but can be customized with the `namedExport` option.\n\n### Use your own Babel configuration\n\nBy default, `@svgr/webpack` includes a `babel-loader` with [an optimized configuration](https://github.com/gregberge/svgr/blob/master/packages/webpack/src/index.js). In some case you may want to apply a custom one (if you are using Preact for an example). You can turn off Babel transformation by specifying `babel: false` in options.\n\n```js\n// Example using preact\n{\n  test: /\\.svg$/,\n  use: [\n    {\n      loader: 'babel-loader',\n      options: {\n        presets: ['preact', 'env'],\n      },\n    },\n    {\n      loader: '@svgr/webpack',\n      options: { babel: false },\n    }\n  ],\n}\n```\n\n### Handle SVG in CSS, Sass or Less\n\nIt is possible to detect the module that requires your SVG using [`Rule.issuer`](https://webpack.js.org/configuration/module/#rule-issuer) in Webpack. Using it you can specify two different configurations for JavaScript and the rest of your files.\n\n```js\n[\n  {\n    test: /\\.svg(\\?v=\\d+\\.\\d+\\.\\d+)?$/,\n    issuer: {\n      test: /\\.jsx?$/\n    },\n    use: ['babel-loader', '@svgr/webpack', 'url-loader']\n  },\n  {\n    test: /\\.svg(\\?v=\\d+\\.\\d+\\.\\d+)?$/,\n    loader: 'url-loader'\n  },\n]\n```\n\n## License\n\nMIT\n",
    "licenseText": "Copyright 2017 Smooth Code\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
  },
  "artifacts": [],
  "remote": {
    "resolved": "https://registry.yarnpkg.com/@svgr/webpack/-/webpack-5.5.0.tgz#aae858ee579f5fa8ce6c3166ef56c6a1b381b640",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/@svgr/webpack/-/webpack-5.5.0.tgz",
    "hash": "aae858ee579f5fa8ce6c3166ef56c6a1b381b640",
    "integrity": "sha512-DOBOK255wfQxguUta2INKkzPj6AIS6iafZYiYmHn6W3pHlycSRRlvWKCfLDG10fXfLWqE3DJHgRUOyJYmARa7g==",
    "registry": "npm",
    "packageName": "@svgr/webpack",
    "cacheIntegrity": "sha512-DOBOK255wfQxguUta2INKkzPj6AIS6iafZYiYmHn6W3pHlycSRRlvWKCfLDG10fXfLWqE3DJHgRUOyJYmARa7g== sha1-quhY7lefX6jObDFm71bGobOBtkA="
  },
  "registry": "npm",
  "hash": "aae858ee579f5fa8ce6c3166ef56c6a1b381b640"
}