Skip to content

Commit

Permalink
ci: log error when there are dynamic imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mingxuanzhangsfdx committed Oct 24, 2024
1 parent d68645a commit 5948cad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/esbuild.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
};

Expand Down

0 comments on commit 5948cad

Please sign in to comment.