@symfony/webpack-encore migration to vite-plugin-symfony
I’m trying to migrate from @symfony/webpack-encore
migration to vite-plugin-symfony
and got an issue.
When webpack-encore dev server starts, it generates chunks under Encore.setOutputPath('web/assets/')
directory, which is not the case for vite-plugin-symfony
. It just generates web/assets/.vite/entrypoints.json
. Here is an example:
Vite ‘The following dependencies are imported but could not be resolved’
I’m trying to migrate from Symfony encore (that uses webpack under the hood) to vite and stuck with this issue