egoist / poi

⚡A zero-config bundler for JavaScript applications.
https://poi.js.org
MIT License
5.22k stars 256 forks source link

fix: HTMLWebpackPlugin name resolution in pwa-plugin #760

Open MiroDojkic opened 4 years ago

MiroDojkic commented 4 years ago

This PR addresses the issue in pwa-plugin package when used in combination with pages. The plugin would unsuccessfully try to resolve html-page-0 plugin created for page. Following config-html logic, this fix gets the first page name using api.config.pages instead.

This should resolve #759