cake-handroll
Adds handroll
helper to shortcake. Bundle up your JavaScript apps using
handroll.
Install
$ npm install cake-bundle --save-dev
Usage
require 'shortcake' use 'cake-bundle' task 'build''build project''build:lib''build:browser' task 'build:lib''build project as library for bundlers + node'-> bundled = await bundle entry: 'src/index.coffee' external: true bundledwrite format: 'es' bundledwrite format: 'cjs' task 'build:browser''build project as single-minified js file' bundle entry: 'src/browser.coffee' dest: 'project.min.js' format: 'browser' minify: true