Something to keep in memory.
transform: translate(0, 0);
Develop on node.js with Typescript
using babel-node
instead of ts-node
(not working well).
Not meant for production use.
Example
- add deps
yarn add @babel/node @babel/core @babel/preset-env @babel/preset-typescript nodemon -D
- add config in
package.json
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-typescript"
]
}
- use command
nodemon --exec babel-node ./src/index.ts --extensions .ts