Skip to main content

Function: bundleToScript()

bundleToScript(bundle, esbuild?): Promise<string>

Turn an ES module bundle into a script for vm (the exports land on __fluidgridsBundle).

Parameters​

bundle​

string

esbuild?​

EsbuildApi

Returns​

Promise<string>