writeScript = async (
  write,
  read,
  bundleLocation,
  moduleLocation,
  options,
) => {
  const bundleString = await makeScript(read, moduleLocation, options);
  const bundleBytes = textEncoder.encode(bundleString);
  await write(bundleLocation, bundleBytes);
}
@param {WriteFn} write
@param {ReadFn} read
@param {string} bundleLocation
@param {string} moduleLocation
@param {BundleOptions} [options]