npm

Need private packages and team management tools?Check out npm Orgs. »

@konekto/bundle

5.5.1 • Public • Published

Bundle

Well bundle should be your last almost zero-config assets bundler for modern frontend development. It supports stylus for styles and babel through webpack.

Installation

npm install -g @konekto/bundle

Usage

Just launch the globally installed cli bundle and it will look for a .bundlerc file in your project tree. Configure babel with your .babelrc and your good to go.

.bundlerc

{
  "cwd": "./src" , //parent folder of the sources
  "destination": "./build" //destination folder, relative to working dir of bundle/index.js call
  "sources": ["**/*.jsx", "**/*.styl"], //source glogs to compile relative to cwd,
  "watch": true, //watch files,
  "loader": true, //activate auto component loader
  "sync": "http://localhost:8080", //page reload proxy with browsersync
  "log": true //activate logging
}

See bundle --help for equivalent counterparts cli arguments.

Keywords

none

install

npm i @konekto/bundle

Downloadsweekly downloads

40

version

5.5.1

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability