Closed devpaul closed 5 years ago
Bundles are built by the tools
package using a BuildConfiguration
to produce an AgentConfiguration JSON file from the agents
package. I ended up using ts-node
to load the BuildConfiguration
on the fly so it could be built into a cli too with TypeScript support.
The Agent
web component now accepts a string
as part of load()
and will fetch and load these JSON based AgentConfiguration
s.
As a dev I want to be able to build the generic agent package as a stand-alone product to support quicker builds.
As a user I want the quickest experience possible. The agent package should not include any asset bundles. They should be loaded separately and asynchronously so as to not block the page.
Suggested changes
bundle
attribute to the agent webcomponentbundle
exists; async fetch as a json bundleloaded
event