drkibitz / pixi.js

Super fast HTML 5 2D rendering engine that uses webGL with canvas fallback
Other
8 stars 1 forks source link

Package src for node better #3

Closed drkibitz closed 10 years ago

drkibitz commented 10 years ago

Having do to require("pixi/src/pixi/Blah"), should be shortened to require("pixi/Blah").

Another question is, should the packaged source be minified (separately minified source files)?

drkibitz commented 10 years ago

Each source file in the node package is now minified and packaged from the base of the module. This means that each module within the package is accessible with require('pixi/some/submodule'). I believe this is a stop gap to allow for more organized applications using pixi, but don't need or want to entire library. There are still many unnecessary internal dependencies that can be avoided with a little refactoring, but this is another issue.