chore: upgrade to esbuild_deno_loader@0.7.0 (#1228)
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import {
|
import {
|
||||||
denoPlugin,
|
denoPlugins,
|
||||||
esbuild,
|
esbuild,
|
||||||
esbuildTypes,
|
esbuildTypes,
|
||||||
escape,
|
escape,
|
||||||
@@ -114,7 +114,7 @@ export class Bundler {
|
|||||||
platform: "neutral",
|
platform: "neutral",
|
||||||
plugins: [
|
plugins: [
|
||||||
buildIdPlugin(BUILD_ID),
|
buildIdPlugin(BUILD_ID),
|
||||||
denoPlugin({ importMapURL: this.#importMapURL }),
|
...denoPlugins({ importMapURL: this.#importMapURL.href }),
|
||||||
],
|
],
|
||||||
sourcemap: this.#dev ? "linked" : false,
|
sourcemap: this.#dev ? "linked" : false,
|
||||||
splitting: true,
|
splitting: true,
|
||||||
|
|||||||
+1
-2
@@ -29,5 +29,4 @@ const esbuild: typeof esbuildWasm = Deno.run === undefined
|
|||||||
: esbuildNative;
|
: esbuildNative;
|
||||||
export { esbuild, esbuildWasm as esbuildTypes };
|
export { esbuild, esbuildWasm as esbuildTypes };
|
||||||
|
|
||||||
// TODO(lino-levan): Replace with versioned import
|
export { denoPlugins } from "https://deno.land/x/esbuild_deno_loader@0.7.0/mod.ts";
|
||||||
export { denoPlugin } from "https://raw.githubusercontent.com/lucacasonato/esbuild_deno_loader/8031f71afa1bbcd3237a94b11f53a2e5c5c0e7bf/mod.ts";
|
|
||||||
|
|||||||
Reference in New Issue
Block a user