Package Protocol
Summary
http://package/ is the protocol for the root folder of client_packages, so http://package/ returns client_packages, makes it easier for you to require files client-side.
When referencing to other files in client_packages, you use
http://package/
For example, a file located in client_packages\index.html can be referred to with
http://package/index.html
A file located in client_packages\my-resource\index.html can be referred to with
http://package/my-resource/index.html
You can also require json files with it http://package/my-resource/beasts.json, so it'll be
const beasts = require('http://package/my-resource/beasts.json')
- NOTE: JSON Require only works in CEF.