chore: update esbuild (#151)

Update esbuild to 14.34, and remove esbuild-wasm from vendored depedencies.

Co-authored-by: Luca Casonato <hello@lcas.dev>
This commit is contained in:
Tyler Brostrom
2022-04-23 15:01:45 +02:00
committed by GitHub
co-authored by Luca Casonato
parent 3d63efc7a8
commit 4e1d4231f7
6 changed files with 19 additions and 3119 deletions
+4 -4
View File
@@ -21,12 +21,12 @@ export * as router from "https://crux.land/router@0.0.6";
export { lookup as mediaTypeLookup } from "https://deno.land/x/media_types@v2.10.2/mod.ts";
// -- esbuild --
// @deno-types="https://deno.land/x/esbuild@v0.14.25/mod.d.ts"
import * as esbuildWasm from "./esbuild-wasm/browser.js";
import * as esbuildNative from "https://deno.land/x/esbuild@v0.14.25/mod.js";
// @deno-types="https://deno.land/x/esbuild@v0.14.34/mod.d.ts"
import * as esbuildWasm from "https://unpkg.com/esbuild-wasm@0.14.34/esm/browser.js";
import * as esbuildNative from "https://deno.land/x/esbuild@v0.14.34/mod.js";
// @ts-ignore trust me
const esbuild: typeof esbuildWasm = Deno.run === undefined
? esbuildWasm
: esbuildNative;
export { esbuild, esbuildWasm as esbuildTypes };
export { denoPlugin } from "https://deno.land/x/esbuild_deno_loader@0.4.0/mod.ts";
export { denoPlugin } from "https://deno.land/x/esbuild_deno_loader@0.4.2/mod.ts";