Fix HtmlPlugin emitting files already emited
In src and href attrs in HTML we emit the
file by default. However we don't have to
emit for assets already emitted by other plugins
Improve HtmlPlugin
- Fix issue where updating src of tags didn't
trigger the file output
- Fix wrong output path for excluded paths
- Add getManifestContent to handle manifest
requires. As in other plugins (see commit log)
Add util getManifestContent to JsonPlugin
This method is shared across plugins as a way
to get the latest state of the manifest file and
update stuff accordingly.
Add util getManifestContent to IconsPlugin
This method is shared across plugins as a way
to get the latest state of the manifest file and
update stuff accordingly.
Add util getManifestContent to ResourcesPlugin
This method is shared across plugins as a way
to get the latest state of the manifest file and
update stuff accordingly.
Add util getManifestContent to LocalesPlugin
This method is shared across plugins as a way
to get the latest state of the manifest file and
update stuff accordingly.
Another big set of updates on RunChromePlugin
- Add error message when the background file
is not found. There was a bug when we
couldn't find the background file but compiler
hasn't started, and had the error handled by
reload plugin.
- Add master_preferences file. Adds a lot of
defaults for Chrome to speed up the startup
time.
Several changes in RunChromePlugin
- Nice progress bar for new user profile creation
- Added "stats" config
- Plugin accepts different ports per config option
- Supress native Welcome page from Chrome with our own*
* = Supressing native Welcome page was needed due to
WebSockets closing connection during first run of Chrome.
While the extension do run, stopping the WebSockets
connection breaks the reload strategy, and since we can't
run away from the first run to generate the user profile,
we replace the welcome page with our own and add
instructions for users on how to run the dev mode properly.