Aurelia v1 - CLI Bundler - Cookbook is gone now?

Hi guys,

I have to integrate a legacy JavaScript pluging leaflet-draw in existing Aurelia v1 that uses requirejs. The plugin leaflet-draw requires leaflet exposes as global L variable.

The problem is, I cannot find the documentation for CLI Bundler any more. I remember that there was a section discussing different approaches for various legacy JavaScript libraries in there - how to configure bundles and dependencies in aurelia.json file.

The closest I found in new version of docs is almost an empty page saying that:

you can edit aurelia.json for advanced customization.
Configuration with aurelia.json | Aurelia 1 Docs

Can I find somewhere the old documentation? Git, old link, something else?

OK,

I have found what I was looking for here:

{
  "name": "leaflet-draw",
  "deps": ["leaflet"],
  "wrapShim": true
}
2 Likes