0.3.1 • Published 4 years ago

purge-icons-loader v0.3.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Usage

Install

npm i purge-icons-loader -D # yarn add purge-icons-loader -D

Add it to webpack.config.js

// webpack.config.js
module.exports = {
  // ...options
  module: {
    rules: [
      {
        test: '@purge-icons/generated',
        use: [
          {
            loader: 'purge-icons-loader',
            options: {
              /* PurgeIcons Options */
            }
          }
        ]
      }
    ]
  }
}

Import @purge-icons/generated in your entry file

import '@purge-icons/generated' // <-- This

Configuration

Check out in PurgeIcons

License

MIT License © 2020 Anthony Fu