Closed drkibitz closed 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.
Having do to
require("pixi/src/pixi/Blah")
, should be shortened torequire("pixi/Blah")
.Another question is, should the packaged source be minified (separately minified source files)?