Allow arbitrary attributes in FilterOptions

pull/159/head
Zef Hemel 2022-12-05 11:41:28 +01:00
parent 8c62ca981e
commit b24c2996be
2 changed files with 2 additions and 1 deletions

View File

@ -28,4 +28,4 @@ export type FilterOption = {
name: string; name: string;
orderId?: number; orderId?: number;
hint?: string; hint?: string;
}; } & Record<string, any>;

View File

@ -76,6 +76,7 @@ export async function compile(
// TODO do this differently // TODO do this differently
importMapURL: options.importMap || importMapURL: options.importMap ||
new URL("./../import_map.json", import.meta.url), new URL("./../import_map.json", import.meta.url),
loader: "native",
}), }),
], ],
absWorkingDir: path.resolve(path.dirname(inFile)), absWorkingDir: path.resolve(path.dirname(inFile)),