Use Moment.js and Lodash in scripts

It would be really nice if we could have the ability to use the Moment.js and Lodash libraries in our scripts.

Ideally we could centrally define JS to import into scripts, and define our own JS + CSS for the UI.

I am injecting JS + CSS into the front end now, but I am forced to use a browser extension as there is no official support.

Related:

2 Likes

Might be better to switch to Deno as an interpreter for these functions. This would provide a safe sandbox and means we could important libraries we need at runtime.

1 Like