plugin-sass-ignore-warning
TypeScript icon, indicating that this package has built-in type declarations

6.1.1 • Public • Published

plugin-sass-ignore-warning

This plugin is used to shield warnings generated by the packaging tool during compilation. It can be used in webpack, rsbuild, rspack packaging environment.

install

npm i plugin-sass-ignore-warning

or

yarn add plugin-sass-ignore-warning

or

pnpm add plugin-sass-ignore-warning

usage

import { pluginSassIgnoreWarnings } from 'plugin-sass-ignore-warning'

export default {
  plugins: [
    pluginSassIgnoreWarnings({
      resourceRegExp: /^\.(scss|sass|css)$/,
      contextRegExp: '',
      warningNames: ['ModuleWarning'],
    }),
  ],
}

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i plugin-sass-ignore-warning

    Weekly Downloads

    281

    Version

    6.1.1

    License

    MIT

    Unpacked Size

    9.88 kB

    Total Files

    7

    Last publish

    Collaborators

    • silentsun