parcel-plugin-browserconfig

1.0.5 • Public • Published

parcel-plugin-browserconfig

Build Status npm GitHub tag GitHub issues

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.,

<meta name="msapplication-config" content="browserconfig.xml" />

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.

Package Sidebar

Install

npm i parcel-plugin-browserconfig

Weekly Downloads

6

Version

1.0.5

License

MIT

Unpacked Size

7.53 kB

Total Files

8

Last publish

Collaborators

  • florianrappl