FOSJsRoutingBundle icon indicating copy to clipboard operation
FOSJsRoutingBundle copied to clipboard

Run webpack encore and execute php fos:js-routing:dump separately

Open MrLexisDev opened this issue 2 years ago • 2 comments

In my enterprise, we use jenkins for compiling our code and dockerize the whole project.

The problem is when I use npm run build (that execute encore production --progress) it tries to execute the command php bin/console fos:js-routing:dump ...

The problem is the server where I execute npm just contains node js and no php. I need to execute the php command separately.

Is there possible to not execute the php command after executing npm run build?

MrLexisDev avatar Nov 22 '23 08:11 MrLexisDev

@MrLexisDev I believe this is fixed with https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/pull/462

bobvandevijver avatar Jan 30 '24 22:01 bobvandevijver

Thanks, I'll take a look ASAP

MrLexisDev avatar Jan 31 '24 07:01 MrLexisDev