Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Create React App 2.0: Babel 7, Sass, and More. Parent comment
package.json (scripts)
BABEL_ENV=development babel -d build/ src/ --extensions \".ts,.tsx,.js\" --quiet --source-maps inline
"type-check": "tsc",
@babel/preset-typescript, typescript
presets: ["@babel/typescript"]
{ "compilerOptions": { "target": "esnext", "module": "commonjs", "declaration": true, "outDir": "build", "strict": true, "allowSyntheticDefaultImports": true, "esModuleInterop": true, "skipLibCheck": true } }
There are no comments on this comment yet.
package.json (scripts)
package.json (add property) package.json (dev depenencies) babelrc (add with env) tsconfig (example)