Skip to content

Commit

Permalink
Disable compile time evaluation of import.meta.url
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoluc committed Mar 26, 2022
1 parent d36e1bb commit f19ab9c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,10 @@ function ncc (
loader: eval('__dirname + "/loaders/shebang-loader.js"')
}]
}
]
],
parser: {
javascript: { importMeta: false },
},
},
plugins
});
Expand Down

0 comments on commit f19ab9c

Please sign in to comment.