I am trying to install and use the lodash package:
const manager = new PluginManager()
await manager.install('lodash')
const _ = manager.require('lodash')
console.log('defaults: ', _.defaults({ a: 1 }, { a: 3, b: 2 }))
But the following error is thrown:
Uncaught (in promise) Error: Code generation from strings disallowed for this context
This moment example works fine
https://github.com/davideicardi/live-plugin-manager#usage
I am trying to install and use the
lodashpackage:But the following error is thrown:
Uncaught (in promise) Error: Code generation from strings disallowed for this contextThis
momentexample works finehttps://github.com/davideicardi/live-plugin-manager#usage