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

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

Open
AlonsoK28 opened this issue Jul 29, 2020 · 0 comments
Open

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

AlonsoK28 opened this issue Jul 29, 2020 · 0 comments

Comments

@AlonsoK28
Copy link

AlonsoK28 commented Jul 29, 2020

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?

@AlonsoK28 AlonsoK28 changed the title How to use in MPA config? How to use in MPA config to load async chunks? Jul 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant