Skip to content
This repository was archived by the owner on Jan 21, 2021. It is now read-only.
This repository was archived by the owner on Jan 21, 2021. It is now read-only.

How to use in MPA config to load async chunks? #124

@AlonsoK28

Description

@AlonsoK28

I have this config in my webpack file used for a MPA in PHP template

new HtmlWebpackPlugin({ filename: '${VIEWS_PATH}/index.php', template: '${VIEWS_PATH}/index.php', chunks: ['index', 'vendor', 'lib'] }),

new HtmlWebpackPlugin({ filename: '${VIEWS_PATH}/product.php', template: '${VIEWS_PATH}/product.php', chunks: ['product', 'vendor', 'lib'] }),

How I need to config preload-webpack-plugin for preload async chunks in a MPA if a have multiple HtmlWebpackPlugin entries?

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