uglify-es-web

1.0.1 • Public • Published

Uglify ES for Web

Install

npm i uglify-es-web

Usage

    //import
    import UglifyEs from 'uglify-es-web';
    //or
    const UglifyEs=require('uglify-es-web');
    //parser
    const parse=UglifyEs.parse(`const hello = 'world'`);
    //print to code
    const code = parse.print_to_string({beautify:true});

Example

https://xuans.github.io/webpack-test/dist/index.html

License

Anti 996

Package Sidebar

Install

npm i uglify-es-web

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

828 kB

Total Files

12

Last publish

Collaborators

  • lijiancheng