Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit

Permalink
Fix ajv deep requires still being bundled
Browse files Browse the repository at this point in the history
  • Loading branch information
realityking committed Mar 19, 2021
1 parent 9b2dcbe commit 209cff8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ const buildCjs = {
return true;
}

// There are some deep imports of ajv files
if (id.startsWith('ajv/')) {
return true;
}

return false;
},
plugins: [
Expand Down

0 comments on commit 209cff8

Please sign in to comment.