mirror of
https://github.com/sern-handler/handler
synced 2026-06-28 02:32:15 +00:00
feat: prettier ignore
This commit is contained in:
@@ -39,7 +39,7 @@ export function buildData<T>(commandDir: string): Observable<
|
||||
Promise.all(
|
||||
commands.map(async absPath => {
|
||||
let module: T | undefined
|
||||
|
||||
// prettier-ignore
|
||||
/// #if MODE === 'esm'
|
||||
= (await import(`file:///` + absPath)).default
|
||||
/// #elif MODE === 'cjs'
|
||||
|
||||
Reference in New Issue
Block a user