Please sign in to comment.
fix(bundler): improve compatibility with legacy libs that depends on …
…jquery or momentjs Special treatment for jquery and moment, put them in front of everything else, so that jquery and moment can create global vars as early as possible. This improves compatibility with some legacy jquery plugins. Note as of momentjs version 2.10.0, momentjs no longer exports global object in AMD module environment. There is special code in lib/build/amodro-trace/write/defines.js to bring up global var "moment".
- Loading branch information...
Showing with 25 additions and 1 deletion.