Skip to content

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

@MrLexisDev

Description

@MrLexisDev

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions