chore: upgrade to esbuild_deno_loader@0.7.0 (#1228)

This commit is contained in:
Asher Gomez
2023-05-31 09:04:38 +00:00
committed by GitHub
parent 38e67b0a97
commit 8fc117d000
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import {
denoPlugin,
denoPlugins,
esbuild,
esbuildTypes,
escape,
@@ -114,7 +114,7 @@ export class Bundler {
platform: "neutral",
plugins: [
buildIdPlugin(BUILD_ID),
denoPlugin({ importMapURL: this.#importMapURL }),
...denoPlugins({ importMapURL: this.#importMapURL.href }),
],
sourcemap: this.#dev ? "linked" : false,
splitting: true,
+1 -2
View File
@@ -29,5 +29,4 @@ const esbuild: typeof esbuildWasm = Deno.run === undefined
: esbuildNative;
export { esbuild, esbuildWasm as esbuildTypes };
// TODO(lino-levan): Replace with versioned import
export { denoPlugin } from "https://raw.githubusercontent.com/lucacasonato/esbuild_deno_loader/8031f71afa1bbcd3237a94b11f53a2e5c5c0e7bf/mod.ts";
export { denoPlugins } from "https://deno.land/x/esbuild_deno_loader@0.7.0/mod.ts";