Set min node version in package.json

v14.13.0 is required for CommonJS named imports to work properly.
This commit is contained in:
Simon Ser 2022-02-10 14:46:42 +01:00
parent 1142145c6d
commit 0063a5a372
2 changed files with 6 additions and 0 deletions

3
package-lock.json generated
View File

@ -17,6 +17,9 @@
"parcel": "^2.0.0", "parcel": "^2.0.0",
"split": "^1.0.1", "split": "^1.0.1",
"ws": "^8.3.0" "ws": "^8.3.0"
},
"engines": {
"node": ">=14.13.0"
} }
}, },
"node_modules/@babel/code-frame": { "node_modules/@babel/code-frame": {

View File

@ -24,5 +24,8 @@
"source": "index.html", "source": "index.html",
"publicUrl": "." "publicUrl": "."
} }
},
"engines": {
"node": ">=14.13.0"
} }
} }