Skip to content

agnostio/webinize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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
    }
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published