This package has been deprecated
Author message:
This package has been deprecated and is no longer maintained. Please use @rollup/plugin-strip
rollup-plugin-strip
1.2.2 • Public • Published rollup-plugin-strip
Remove debugger
statements and functions like assert.equal
and console.log
from your code.
Installation
npm install --save-dev rollup-plugin-strip
Usage
import strip from 'rollup-plugin-strip';
export default {
input: 'src/index.js',
output: [
{
format: 'cjs',
file: 'dist/my-lib.js'
}
],
plugins: [
strip({
debugger: true,
functions: [ 'console.log', 'assert.*', 'debug', 'alert' ],
sourceMap: true
})
]
};
License
MIT
/rollup-plugin-strip/
//
Package Sidebar
Install
npm i rollup-plugin-strip
Weekly Downloads