From b24c2996be8dc27a93c5559da60baadaa9a3a6cf Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Mon, 5 Dec 2022 11:41:28 +0100 Subject: [PATCH] Allow arbitrary attributes in FilterOptions --- common/types.ts | 2 +- plugos/compile.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/types.ts b/common/types.ts index 97c38dde..ec41182c 100644 --- a/common/types.ts +++ b/common/types.ts @@ -28,4 +28,4 @@ export type FilterOption = { name: string; orderId?: number; hint?: string; -}; +} & Record; diff --git a/plugos/compile.ts b/plugos/compile.ts index eadd2836..87592b4d 100644 --- a/plugos/compile.ts +++ b/plugos/compile.ts @@ -76,6 +76,7 @@ export async function compile( // TODO do this differently importMapURL: options.importMap || new URL("./../import_map.json", import.meta.url), + loader: "native", }), ], absWorkingDir: path.resolve(path.dirname(inFile)),