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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    2
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i sass-replace-webpack-plugin

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • fakundo