Answer the question
In order to leave comments, you need to log in
How to generate another entrypoint.json file?
I use symfony-webpack-encore-bundle.
I generate files for dev-env with yarn encore dev command.
files are generated in app/public/build, paths are written in the entrypoint, a la I build/app.js, build/app.css.
generate files for prod-env with the yarn encore prod command,
files are generated in app/public/build, paths are written in the entrypoint, a la build/app.qwe123.js, build/app.qwe123.css.
I need files to be generated in the same place, but the paths were written in this form:
app/public/build/app.qwe123.css,
app/public/build/app.qwe123.js.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question