Releases: lopatnov/rollup-plugin-uglify
@lopatnov/rollup-plugin-uglify
@lopatnov/rollup-plugin-uglify
A rollup plugin to minify javascript
Requirements
Install rollup and terser first.
npm install rollup --save-dev
npm install terser --save-dev
Install
npm install @lopatnov/rollup-plugin-uglify --save-dev
Import package to the project
TypeScript
import uglify from "@lopatnov/rollup-plugin-uglify";
JavaScript
var uglify = require("@lopatnov/rollup-plugin-uglify");
How to use plugin
File rollup.config.ts
export default {
//...
plugins: [
//...
uglify()
]
};
Changelog
Version | Changes |
---|---|
2.1.0 | Added behavior for async terser result |
Rights and Agreements
License Apache-2.0
Copyright 2019 Oleksandr Lopatnov
@lopatnov/rollup-plugin-uglify
@lopatnov/rollup-plugin-uglify
A rollup plugin to minify javascript
Requirements
Install rollup and terser first.
npm install rollup --save-dev
npm install terser --save-dev
Install
npm install @lopatnov/rollup-plugin-uglify --save-dev
Import package to the project
TypeScript
import uglify from "@lopatnov/rollup-plugin-uglify";
JavaScript
var uglify = require("@lopatnov/rollup-plugin-uglify");
How to use plugin
File rollup.config.ts
export default {
//...
plugins: [
//...
uglify()
]
};
Rights and Agreements
License Apache-2.0
Copyright 2019-2020 Oleksandr Lopatnov
@lopatnov/rollup-plugin-uglify
@lopatnov/rollup-plugin-uglify
A rollup plugin to minify javascript with UglifyJS
Install
npm install @lopatnov/rollup-plugin-uglify
Import package to the project
TypeScript
import uglify from "@lopatnov/rollup-plugin-uglify";
JavaScript
var uglify = require("@lopatnov/rollup-plugin-uglify");
How to use plugin
File rollup.config.ts
export default {
//...
plugins: [
//...
uglify()
]
};
Rights and Agreements
License Apache-2.0
Copyright 2019 Oleksandr Lopatnov
@lopatnov/rollup-plugin-uglify
@lopatnov/rollup-plugin-uglify
A rollup plugin to minify javascript with UglifyJS
Install
@lopatnov/rollup-plugin-uglify
Import package to the project
import workerFromString from 'rollup-plugin-uglify';
or
var workerFromString = require("rollup-plugin-uglify")
Convert String values into Worker
workerFromString(...textValues: string[]) => Worker
Rights and Agreements
License Apache-2.0
Copyright 2019 Oleksandr Lopatnov
@lopatnov/rollup-plugin-uglify
1.1.0 Changed format
@lopatnov/rollup-plugin-uglify
@lopatnov/rollup-plugin-uglify
A rollup plugin to minify javascript with UglifyJS
Install
@lopatnov/rollup-plugin-uglify
Import package to the project
import workerFromString from 'rollup-plugin-uglify';
or
var workerFromString = require("rollup-plugin-uglify")
Convert String values into Worker
workerFromString(...textValues: string[]) => Worker
Rights and Agreements
License Apache-2.0
Copyright 2019 Oleksandr Lopatnov
@lopatnov/rollup-plugin-uglify
@lopatnov/rollup-plugin-uglify
A rollup plugin to minify javascript with UglifyJS
Install
@lopatnov/rollup-plugin-uglify
Import package to the project
import workerFromString from 'rollup-plugin-uglify';
or
var workerFromString = require("rollup-plugin-uglify")
Convert String values into Worker
workerFromString(...textValues: string[]) => Worker
Rights and Agreements
License Apache-2.0
Copyright 2019 Oleksandr Lopatnov