1.1.0 • Published 6 years ago

comment-tags-cleaner-loader v1.1.0

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

#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:

startComment: 'steal-remove-start',
endComment: 'steal-remove-end'

Running with the custom params:

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