steal-clean-loader

2.0.0 • Public • Published

#Installing

npm install steal-clean-loader --save-dev

#Using

Add necessary rule into your webpack config.

By default the loader will take default params such as:

startCommentTag: 'steal-remove-start',
endCommentTag: 'steal-remove-end'

Running with the custom params:

module: {
    rules: [
    {
        test: /\.js$/,
        use: {
            loader: 'steal-clean-loader',
            options: {
                startCommentTag: 'customStartCommentTag'
                endCommentTag: 'customEndCommentTag'
            }   
        }
    }

Readme

Keywords

Package Sidebar

Install

npm i steal-clean-loader

Weekly Downloads

2

Version

2.0.0

License

ISC

Unpacked Size

2.92 kB

Total Files

4

Last publish

Collaborators

  • kostya.aderiho