Skip to content

Commit

Permalink
disable v8cache for esm
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Jul 3, 2021
1 parent 786339a commit c7cf82f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.js
Expand Up @@ -56,6 +56,9 @@ function ncc (
production = true,
} = {}
) {
if (esm)
v8cache = false;

const cjsDeps = () => ({
mainFields: ["main"],
extensions: SUPPORTED_EXTENSIONS,
Expand Down

0 comments on commit c7cf82f

Please sign in to comment.