Skip to main content
100%

Gist 7880143

✓ Published0🌍 Public
Aalessioalex
Last edited Dec 6, 2013
Created on Dec 9, 2013

This example demonstrates a minimal client-side build setup for a web application, showing how Less styles and browser JavaScript are compiled into static bundles. The code uses `catw` with `lessc` to transform `.less` files from `style/` into `static/bundle.css`, and `browserify` to bundle browser code from `browser/` into `static/bundle.js`. A watch mode via `watchify` and `catw` enables live recompilation during development, while a production build generates the final static assets. The example also illustrates npm script orchestration for both watch and build workflows.

AI-generated description

Similar vizzes