This website requires JavaScript.
Explore
Help
Sign In
OpenNeo
/
impress
Watch
1
Star
0
Fork
You've already forked impress
1
Code
Pull requests
Activity
2bd573690e
impress
/
src
/
react-app-env.d.ts
2 lines
40 B
TypeScript
Raw
Normal View
History
Unescape
Escape
Finally finish TS setup, build works! `yarn build` was crashing on my `build-cached-data` script, because we were trying to run the Typescript file uncompiled! Now, we run it with `ts-node`, which transparently compiles Typescript files before execution. Phew! `react-scripts build` made some automated changes to `tsconfig.json` for compatibility with `create-react-app`, and I also added a `ts-node` section to override one of them so we can compile to CommonJS for `ts-node` script execution!
2021-02-02 21:38:57 -08:00
/// <reference types="react-scripts" />
Copy permalink