Can one change the default map behavior?

3 views
Skip to first unread message

erei...@trafficland.com

unread,
Jul 13, 2017, 10:59:49 AM7/13/17
to SystemJS
Hi.

I'm using webjars with the Play Framework.

The JS libs are available at "libs/<lib_name>/<lib_name>.js". I have set baseURL to "libs" and defaultExtension = true. That leaves the maps looking like "lib_name": "lib_name/lib_name" because the default systemjs uses (effectively) is just "lib_name": "lib_name.js".

Is there a way to change the default behavior so that systemjs will automatically prepend the directory name?

Reply all
Reply to author
Forward
0 new messages