Skip to content

Commit

Permalink
Make Node.js treat files with the extension .js as ECMAScript modules
Browse files Browse the repository at this point in the history
Although most of the code will be TypeScript and the transpiler could
emit CommonJS JavaScript, there will be some JavaScript: the new flat
configuration file for ESLint.

must be done now, before setting up Yarn, for Yarn to detect that it
should enable ESM support (¿only in the Plug'n'Play loader or elsewhere
too?)
  • Loading branch information
kalrish committed Jun 28, 2023
1 parent ef902ef commit 6eaa5b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"name": "@djsp/aws-organization-bootstrap",
"version": "0.0.0",
"files": [
]
],
"type": "module"
}

0 comments on commit 6eaa5b0

Please sign in to comment.