We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18d175e commit 38a98e2Copy full SHA for 38a98e2
example/index.ts
@@ -14,4 +14,7 @@ async function run() {
14
console.log("Optimization finished");
15
}
16
17
-run();
+run().catch((err) => {
18
+ console.error(err);
19
+ process.exit(1);
20
+});
package.json
@@ -16,7 +16,7 @@
"build": "tsc --build",
"lint": "eslint --ext .js,.ts .",
"format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\"",
- "dev": "ts-node-esm --experimental-specifier-resolution=node ./example/index.ts"
+ "dev": "node --loader ts-node/esm --experimental-specifier-resolution=node ./example/index.ts"
},
21
"dependencies": {
22
"@workadventure/tiled-map-type-guard": "^2.1.1",
0 commit comments