Skip to content

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

License

Notifications You must be signed in to change notification settings

maxerbubba/winjs-modules

 
 

Repository files navigation

WinJS-modules

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

Build

Note: On windows, install git and run 'Git Bash' to open a bash-compatible console.

  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
    • Known Issue: When commenting things out, leave in the "require-style" lines for the build to complete
  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.
  • The build will not complete successfully unless the top-level require-style lines are left in, due to dependencies in the controls.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.0%
  • CSS 9.0%