Skip to content

Commit 8d2a02f

Browse files
committed
Add "type": "module" to package.json
Enable ES module syntax (import/export) for the project by setting "type": "module" in package.json.
1 parent 0cfc2d1 commit 8d2a02f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

middleware-exercise/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "1.0.0",
44
"description": "",
55
"main": "index.js",
6+
"type": "module",
67
"scripts": {
78
"test": "echo \"Error: no test specified\" && exit 1"
89
},

0 commit comments

Comments
 (0)