Skip to content

Defining Multiple Webpack Configurations docs might be missing a step #15540

@iampedropiedade

Description

@iampedropiedade

I think documentation is missing a step on the assets.yaml to define the multiple manifest.json files:

https://symfony.com/doc/current/frontend/encore/advanced-config.html

framework:
    assets:
        packages:
            app:
                json_manifest_path: '%kernel.project_dir%/public/build/app/manifest.json'
            dashboard:
                json_manifest_path: '%kernel.project_dir%/public/build/dashboard/manifest.json'

instead of the original:

framework:
    assets:
        json_manifest_path: '%kernel.project_dir%/public/build/manifest.json'

#15539

Metadata

Metadata

Assignees

No one assigned

    Labels

    front-endhasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions