4 ms·
The main file is exporting a global variable (window.mylib) directly, when it should assume require.js is present and export itself as a module. Only when creat
by ricardobeat 13y ago
The main file is exporting a global variable (window.mylib) directly, when it should assume require.js is present and export itself as a module. Only when creating a stand-alone/static build for non-requirejs environments it should export a global. CommonJS support could be added too.