Allows third-party libraries to be safely installed and mounted
Allows shared libraries for an app to be available between internal and external apps
The new structure is set out as follows:
- apps/app_name
- src
- internal.html <-- /app_name on internal port
- external.html <-- /app_name on external port
- lib
- my_lib.js <- /app_name/lib/my_lib.js on both ports
- node_modules <- /app_name/modules on both ports
- assets <- /app_name/assets on both ports
This restructuring has several benefits:
The new structure is set out as follows:
Related PRs: