npm

Need private packages and team management tools?Check out npm Orgs. »

@leiops/icon-loader

1.0.5 • Public • Published

@leiops/icon-loader

npm npm

An SVG loader which turns plain SVG files into React JSX. Made for use with @leiops/icon.

Because this emits JSX files, you will likely want to chain it with babel-loader in order to generate a useable output.

...
module: {
  ...
  rules: [
    ...
    {
      test: /\.svg$/,
      use: [
        'babel-loader',
        '@leiops/icon-loader',
      ]
    },
    ...
  ],
  ...
},
...

Keywords

none

install

npm i @leiops/icon-loader

Downloadsweekly downloads

4

version

1.0.5

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability