This is a modular build seed for custom compiling your own version of WinJS.
- npm install -g requirejs
- npm install winjs-modules
- cp node_modules/winjs-modules/WinJS-custom.js .
- cp node_modules/winjs-modules/example.build.js ./build.js
- Edit the paths in build.js (if necessary)
- Edit WinJS-custom.js, commenting out the modules you don't need
- r.js -o build.js
- Your custom build is in bin\WinJS.js
- Currently the modular build doesn't custom-compile CSS since the CSS has not been modularized yet. Pre-built CSS is inside the "css" directory.