typescript - create-react-app --typescript 中编译的 js 文件的默认位置

标签 typescript create-react-app

我正在使用 create-react-app 的 typescript 版本。我只使用 npm start (而不是 npm build)。

我想检查由 typescript 创建的js文件,但找不到构建文件夹。编译后的文件保存在哪里?

最佳答案

npm start 将通过 webpack-dev-server 进行策略。 webpack-dev-server 使用缓存输出文件。没有目录。尝试与其他 option 一起构建

关于typescript - create-react-app --typescript 中编译的 js 文件的默认位置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54681725/

相关文章:

node.js - typescript 错误 1062 : "Type is referenced directly or indirectly in the fulfillment callback of its own ' then' method."

node.js - Ng2-Smart-table 不起作用,返回 404 未找到错误和 system.js 错误

windows - 无法使用 create-react-app 和 docker windows 获取 webpack 热重载

node.js - 在 create-react-app 中包含一个共享项目

typescript - 如何在 TypeScript 中对映射和集合强制执行更严格的类型?

Angular 2 : convert array to Observable

facebook - 如何修复错误 'FB' is not defined no-undef on create-react-app project?

reactjs - 当我运行 Jest 测试时,是否有一个选项可以显示所有测试描述?

typescript - 在 typescript 中映射枚举

reactjs - 在github上发布react应用程序后出现空白页面