From e30449b097964e1ed883493bc4d0996e175db784 Mon Sep 17 00:00:00 2001 From: Andrew Bradley Date: Sat, 28 May 2022 15:23:56 -0400 Subject: [PATCH] fix(node/types): Add `ignoreDynamic` to typescript types (#4832) --- node-swc/src/types.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/node-swc/src/types.ts b/node-swc/src/types.ts index a45fee35290..4c184b7357d 100644 --- a/node-swc/src/types.ts +++ b/node-swc/src/types.ts @@ -959,6 +959,10 @@ export interface BaseModuleConfig { * Defaults to `false`. */ noInterop?: boolean; + /** + * If set to true, dynamic imports will be preserved. + */ + ignoreDynamic?: boolean; } export interface Es6Config extends BaseModuleConfig {