‚̧Navigator Prefabricating Marinates
    Have ideas to improve npm?Join in the discussion! ¬Ľ

    webinize

    1.0.2¬†‚Äʬ†Public¬†‚Äʬ†Published

    Webinize


    an oppinionated wrapper for babel and node-minify.

    It accepts a single object as it's argument, with the following properties:
    • src: (your source file)

    • dev: ( development bundle destination - with working source map)

    • min: (production bundle destination - minified and dead code removed)

    • done: (callback)

    API example usage:

    const webinize = require('webinize');
     
    webinize({
        src: '/sadf/asdf/asd/fas/dadg/foo.js'
        dev: '/sadf/asdf/asd/fas/dadg/foo.bundle.js'
        //min is optional, and signifigantly adds to compile time.
        min: '/sadf/asdf/asd/fas/dadg/foo.bundle.min.js'
        done: () => {
            // do stuff here
        }
    });

    Keywords

    none

    Install

    npm i webinize

    DownloadsWeekly Downloads

    0

    Version

    1.0.2

    License

    ISC

    Last publish

    Collaborators

    • avatar