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 - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -