a simple inferno starter with no webpack, no babel and no configuration
has livereloading (not hotloading), bundling, minifying, transpiling
uses browserify, bublé and uglifyjs
this is the entire build process:
buble src -o build; browserify build/index.js | uglifyjs > public/bumble.js
but that's available as yarn build
or npm run build
git clone git@github.com:chee/inferno-starter
cd inferno-starter
yarn
i'd open up tmux and have a window for each of watch
, serve
and reload
(building your js every time you save)
yarn watch
(reloading your js when it is built) (requires livereload browser extension)
yarn reload
(serves your code on port :1890)
yarn serve
yarn build
- add jsx support in watch (maybe?)
- take out livereload when building for production
- don't rely on python2 for serving
- cry that she is gone
- die in a hole