From 5948cad55df7a310b2e144c668870bf501d71d63 Mon Sep 17 00:00:00 2001 From: mingxuanzhang Date: Thu, 24 Oct 2024 10:17:34 -0700 Subject: [PATCH] ci: log error when there are dynamic imports --- scripts/esbuild.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/esbuild.config.js b/scripts/esbuild.config.js index 21d60675..8172d1de 100644 --- a/scripts/esbuild.config.js +++ b/scripts/esbuild.config.js @@ -16,8 +16,7 @@ const sharedConfig = { 'dynamic-import': false, }, logOverride: { - // 'unsupported-dynamic-import': 'error', - // dynamic import is used in oclif to refer to a file path, which is legit. + 'unsupported-dynamic-import': 'error', }, };