parcel-plugin-browserconfig




A simple plugin for Parcel to traverse a browserconfig.xml file.
Usage
Just install the plugin. Make sure that your HTML file references the browserconfig.xml, e.g.,
``
html
`
The file will be minifed and all sources (attribute src
) will be correctly marked as dependencies.
Comparison to Static Copy
As an alternative to this plugin you can also use, e.g., parcel-plugin-robot
. This plugin copies all files from a subfolder static
. Thus you could just have a browserconfig.xml` in that folder with all referred files also being in that folder. In many cases that may actually be sufficient.
This plugin also minifies the XML file and takes care of, e.g., image optimizations etc. for found images.
Changelog
This project adheres to
semantic versioning.
You can find the changelog in the
CHANGELOG.md file.
License
This plugin is released using the MIT license. For more information see the
LICENSE file.