Skip to content

Commit 0ab00f2

Browse files
committed
Make Node.js treat files with the extension .js as ECMAScript modules
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?)
1 parent 4c07e3f commit 0ab00f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"name": "@djsp/aws-organization-bootstrap",
33
"version": "0.0.0",
44
"files": [
5-
]
5+
],
6+
"type": "module"
67
}

0 commit comments

Comments
 (0)