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)),