create-react-app 应用程序在未弹出时将其 babel 配置存储在哪里?
Where does create-react-app application store it's babel configuration when not ejected?
我想从 JS 读取我正在做的模块中的 babel 配置。
我不使用 webpack,我只使用 babel 和 babel cli。
在哪里可以找到使用 create-react-app 制作的非弹出应用程序的 babel 配置?
create-react-app 没有单独的 babel 配置文件。
相反,它使用预设 babel-preset-react-app
。
您可以在此处找到有关预设的更多详细信息 - babel-preset-react-app
另一方面,如果您对 babel 的 webpack 配置感兴趣,您可以在这里找到它,正如@Tholle 在评论中指出的那样
我想从 JS 读取我正在做的模块中的 babel 配置。
我不使用 webpack,我只使用 babel 和 babel cli。
在哪里可以找到使用 create-react-app 制作的非弹出应用程序的 babel 配置?
create-react-app 没有单独的 babel 配置文件。
相反,它使用预设 babel-preset-react-app
。
您可以在此处找到有关预设的更多详细信息 - babel-preset-react-app
另一方面,如果您对 babel 的 webpack 配置感兴趣,您可以在这里找到它,正如@Tholle 在评论中指出的那样