Noodles, Poodles and More!

    parcel-optimizer-custom-terser
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.4 • Public • Published

    parcel-optimizer-custom-terser

    Install

    yarn add parcel-optimizer-custom-terser -D
    
    or 
    
    npm install parcel-optimizer-custom-terser --save-dev

    default minify options

    const minifyOptions: MinifyOptions = {
          compress: false,
          ecma: 2020,
          ie8: false,
          keep_classnames: undefined,
          keep_fnames: false,
          module: true,
          safari10: false,
          sourceMap: {
            includeSources: true,
            filename: bundle.name,
            url: bundle.name + '.map',
          },
          toplevel: true,
        };

    .parcelrc example

    {
        "extends": ["@parcel/config-default"],
        "optimizers": {
            "*.js": [
                "parcel-optimizer-custom-terser"
            ]
        }
    }
    

    Keywords

    none

    Install

    npm i parcel-optimizer-custom-terser

    DownloadsWeekly Downloads

    6

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    14 kB

    Total Files

    10

    Last publish

    Collaborators

    • kobzarvs