Skip to content

v24.6.0

Latest
Compare
Choose a tag to compare
@jackocnr jackocnr released this 05 Oct 14:45
· 1 commit to master since this release

Support async functions for loading the utils script - thanks to @Mr0grog

Details
Deprecated utilsScript option, in favour of new loadUtilsOnInit option, which can be used in 2 ways:

// a string URL, as before
loadUtilsOnInit: "/path/to/utils.js"

or

// a function which returns a promise, resolving to the utils module
loadUtilsOnInit: () => import("/path/to/utils.js")

See readme for more info.