requirejs - Exclude shim from require js optimized build -


i've durandal webapp uses require js load modules. there's shim configured tinymce. works ok when using non-optimized version. when use r.js optimize code, want exclude tinymce bundle, it's included. know how exclude shims being included in optimized build? i'm using gulp-durandal, , i've excluded other modules, using excludeshadow setting, doesn't seam work shims, or i'm doing wrong.

edit: managed fix problem manually setting in gulp-durandal file exclude array in rjsconfigadapter. reason modulefilter function didn't excluded files, exclude array did job

try paths.tinymce=empty: in r.js command line call.

or (in require config), if use via grunt.js or something:

paths: {     tinymce: "empty:" } 

Comments

Popular posts from this blog

java - Unable to make sub reports with Jasper -

scala - play framework: Modules were resolved with conflicting cross-version suffixes -

Passing Variables from AngelScript to C++ -