From efdefbaaab267e681926ebed6e84383f16618f31 Mon Sep 17 00:00:00 2001 From: Sabir Hassan Date: Fri, 28 Apr 2023 17:10:01 +0500 Subject: [PATCH] fix: add sasjs/adapter to external array in build.ts --- build.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build.ts b/build.ts index a341ef0..21c278a 100644 --- a/build.ts +++ b/build.ts @@ -8,7 +8,13 @@ import { build } from 'esbuild' const res = await build({ entryPoints: ['./src/extension.ts'], outfile: 'out/extension.js', - external: ['vscode', '@sasjs/utils/fs', 'node-graphviz', '@sasjs/cli'], + external: [ + 'vscode', + '@sasjs/utils/fs', + 'node-graphviz', + '@sasjs/cli', + '@sasjs/adapter' + ], format: 'cjs', platform: 'node', bundle: true,