sass-replace-webpack-plugin

1.0.2 • Public • Published

SASS Replace Webpack Plugin

npm

Replaces SASS files like NormalModuleReplacementPlugin.

Installation

npm install sass-replace-webpack-plugin

Usage

webpack.config.js

...
plugins: [
  new SassReplaceWebpackPlugin(regexp, replacer);
]
...

Constructor parameters

  • regexp {RegExp} - Regular expression to test path
  • replacer {String|Function} - Path to the new resource. If new path is relative, it is relative to the previous resource.

Dependencies (0)

    Dev Dependencies (10)

    Package Sidebar

    Install

    npm i sass-replace-webpack-plugin

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • fakundo