You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support the Require.js optimizer cjsTranslate option, which will allow support for "cleaning" CommonJS module code. This is currently broken in the current AMDclean release.
The text was updated successfully, but these errors were encountered:
// commonjs1.jsvarcommonjs2=require('./commonjs2');var_commonjs2_='blah';varcommonjs4=require('./commonjs4');commonjs2.exampleFunc();// commonjs2.jsmodule.exports={'exampleBool': true,'exampleFunc': require('commonjs3').exampleFunc}// commonjs3.jsexports.exampleFunc=function(){vartest=true;returntest;}// commonjs4.jsexports.test='this is a test';
Standard JavaScript
varcommonjs3,commonjs2,commonjs4,commonjs1;commonjs3=function(exports){exports.exampleFunc=function(){vartest=true;returntest;};returnexports;}({});commonjs2=function(exports){exports={'exampleBool': true,'exampleFunc': commonjs3.exampleFunc};returnexports;}({});commonjs4=function(exports){exports.test='this is a test';returnexports;}({});commonjs1=function(exports,__commonjs2__,_commonjs4_){varcommonjs2=__commonjs2__;var_commonjs2_='blah';varcommonjs4=_commonjs4_;commonjs2.exampleFunc();returnexports;}({},commonjs2,commonjs4);
Support the Require.js optimizer
cjsTranslate
option, which will allow support for "cleaning" CommonJS module code. This is currently broken in the current AMDclean release.The text was updated successfully, but these errors were encountered: