export bundleAsJavascript