Skip to content

Commit

Permalink
add more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fairclothjm committed Mar 11, 2024
1 parent 5ec61d5 commit 6fac298
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cjs-require.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This allows us to use `require` in our ECMAScript module
// See: https://github.com/vercel/ncc/issues/791
// https://nodejs.org/api/module.html#modulecreaterequirefilename
import { createRequire } from "module";
const require = createRequire(import.meta.url);
Expand Down

0 comments on commit 6fac298

Please sign in to comment.