diff --git a/src/bundler/esbuild_bundler.ts b/src/bundler/esbuild_bundler.ts index c147268..c6205c1 100644 --- a/src/bundler/esbuild_bundler.ts +++ b/src/bundler/esbuild_bundler.ts @@ -16,7 +16,8 @@ export const EsbuildBundler = { const result = await esbuild.build({ entryPoints: [options.entrypoint], platform: "browser", - target: "deno1", // TODO: the versions should come from the user defined input + // TODO: the versions should come from the user defined input + target: "deno1", format: "esm", // esm format stands for "ECMAScript module" bundle: true, // inline any imported dependencies into the file itself absWorkingDir: options.absWorkingDir, diff --git a/src/install_update.ts b/src/install_update.ts index fd0531e..0864799 100644 --- a/src/install_update.ts +++ b/src/install_update.ts @@ -42,7 +42,7 @@ export const updateDependencies = async () => { // project as a means to cache the changes if (!updateResp.error) { try { - // TODO :: This try/catch should be nested within createUpdateResp + // TODO: This try/catch should be nested within createUpdateResp // but doing so surfaces an issue with the --allow-run flag not // being used, despite its presence and success at this level runBuildHook();