我有一个 React 应用程序,目前正在将应用程序从 迁移CRA到vite. 我已经使用 .php 配置了 index.php (其中有一些 php 配置)作为入口点HtmlWebpackPlugin。因此,在迁移到 时vite,它以index.html 作为入口点。有什么办法可以将其更改为index.php吗?参考链接
CRA
vite
HtmlWebpackPlugin
php drupal reactjs html-webpack-plugin vite
drupal ×1
html-webpack-plugin ×1
php ×1
reactjs ×1
vite ×1