diff --git a/src/bundler/esbuild_bundler.ts b/src/bundler/esbuild_bundler.ts index 33d9f18..c147268 100644 --- a/src/bundler/esbuild_bundler.ts +++ b/src/bundler/esbuild_bundler.ts @@ -15,7 +15,7 @@ export const EsbuildBundler = { // esbuild configuration options https://esbuild.github.io/api/#overview const result = await esbuild.build({ entryPoints: [options.entrypoint], - platform: "neutral", + platform: "browser", target: "deno1", // TODO: the versions should come from the user defined input format: "esm", // esm format stands for "ECMAScript module" bundle: true, // inline any imported dependencies into the file itself