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
If I got it right, the current behavior of the option cjsTranslate is to convert all the js files found in the directory. In projects with lots of external dependencies this option makes the optimization of modules too slow.
I think it would be nice to extend this options with more possible values:
{cjsTranslate: true,// current behaviorcjsTranslate: false,// current behaviorcjsTranslate: 'all',// all modules, like "cjsTranslate: true"cjsTranslate: 'optimized'// only optimized modules and its dependenciescjsTranslate: ['main.js','cjsmodules']// list of files or directories to be converted}
The text was updated successfully, but these errors were encountered:
rubennorte
changed the title
Improve the option "cjsTranslate"
Improve the "cjsTranslate" option
Jan 28, 2015
If I got it right, the current behavior of the option cjsTranslate is to convert all the js files found in the directory. In projects with lots of external dependencies this option makes the optimization of modules too slow.
I think it would be nice to extend this options with more possible values:
The text was updated successfully, but these errors were encountered: