missioncommand / emp3-web

Extensible Map Platform (EMP) web development kit
Other
19 stars 9 forks source link

Should the emp sdk and core js files be ported to es5 modules? #346

Open georgegtx opened 7 years ago

georgegtx commented 7 years ago

I had a try to port the EMP to es5 modules and mostly did it, except for some parts of the cmapi where the dependencies were all over the place, but i think it can be done. This will allow for bundlers to perform tree-shaking and drop unused code. it will also eliminate the need for manifest files as the resolution will happen declaratively. What do you think?