Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Latest commit

 

History

History
23 lines (13 loc) · 630 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 630 Bytes

WinJS-modules

This is a modular build seed for custom compiling your own version of WinJS.

Build

  1. npm install -g requirejs
  2. npm install winjs-modules
  3. cp node_modules/winjs-modules/WinJS-custom.js .
  4. cp node_modules/winjs-modules/example.build.js ./build.js
  5. Edit the paths in build.js (if necessary)
  6. Edit WinJS-custom.js, commenting out the modules you don't need
  7. r.js -o build.js
  8. Your custom build is in bin\WinJS.js

Limitations / Known Issues

  • 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.