通过 构建 React(使用通常react-scripts/create-creact-app等)应用程序时npm build,我总是在build/index.html.
我已经尝试将 移动src到子文件夹中,但index.js需要在src/index.js.
那么如何更改的输出路径index.html?
例如,我想将其重命名为index.htm,因为我有一个迂腐的怪癖,或者我想将输出路径更改为build/srv/www/index.html?
(这些只是示例。)