Hello there, I'm having a problem when using the async requirejs plugin. When optmized, the main file contains the following code ``` javascript //shim requirejs config // ... leafletGoogleLayer: ['async!http://maps.google.com/maps/api/js', 'leaflet'], // ... ``` **The output:** ``` javascript // Tries to load (base-url)/async.js -> gives 404 define('leafletGoogleLayer', [ 'async!http://maps.google.com/maps/api/js', 'leaflet' ], function () { ///... ``` But the plugin must be removed: ``` javascript // Now it's correct! define('leafletGoogleLayer', [ 'http://maps.google.com/maps/api/js', 'leaflet' ], function () { ///... ``` The r.js have support to remove the plugins via [**stubModules**](https://github.com/millermedeiros/requirejs-plugins#removing-plugin-code-after-build) config. There's a way to do it in amd-optimize?
Hello there, I'm having a problem when using the async requirejs plugin. When optmized, the main file contains the following code
The output:
But the plugin must be removed:
The r.js have support to remove the plugins via stubModules config.
There's a way to do it in amd-optimize?