From 7b7033b76c1f678352fff96a4873a88405c6ec76 Mon Sep 17 00:00:00 2001 From: David Luecke Date: Sat, 5 Feb 2022 11:50:14 -0800 Subject: [PATCH] fix(build): Update DNT build system to fix Webpack builds (#99) --- main/build.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/build.ts b/main/build.ts index 82f95da..31c740f 100644 --- a/main/build.ts +++ b/main/build.ts @@ -1,5 +1,5 @@ import * as path from 'https://deno.land/std@0.115.1/path/mod.ts'; -import { build } from 'https://deno.land/x/dnt@0.7.2/mod.ts'; +import { build } from 'https://deno.land/x/dnt@0.17.0/mod.ts'; import hooksPackage from './hooks/package.json.ts'; const __dirname = new URL('.', import.meta.url).pathname; @@ -13,6 +13,7 @@ const buildModule = async (name: string) => { entryPoints: [path.join(inDir, 'src/index.ts')], outDir, test: false, + shims: {}, compilerOptions: { importHelpers: false, },