Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/florianrappl/parcel-plugin-browserconfig
A simple plugin for Parcel to traverse a browserconfig.xml file. :package:
https://github.com/florianrappl/parcel-plugin-browserconfig
browserconfig parcel parcel-bundler parcel-plugin
Last synced: 10 days ago
JSON representation
A simple plugin for Parcel to traverse a browserconfig.xml file. :package:
- Host: GitHub
- URL: https://github.com/florianrappl/parcel-plugin-browserconfig
- Owner: FlorianRappl
- License: mit
- Created: 2018-10-26T19:12:19.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T00:46:27.000Z (almost 2 years ago)
- Last Synced: 2024-10-06T06:41:15.940Z (about 1 month ago)
- Topics: browserconfig, parcel, parcel-bundler, parcel-plugin
- Language: JavaScript
- Homepage: https://piral.io
- Size: 1.59 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# parcel-plugin-browserconfig
[![Build Status](https://florianrappl.visualstudio.com/parcel-plugin-browserconfig/_apis/build/status/FlorianRappl.parcel-plugin-browserconfig?branchName=master)](https://florianrappl.visualstudio.com/parcel-plugin-browserconfig/_build/latest?definitionId=11&branchName=master)
[![npm](https://img.shields.io/npm/v/parcel-plugin-browserconfig.svg)](https://www.npmjs.com/package/parcel-plugin-browserconfig)
[![GitHub tag](https://img.shields.io/github/tag/FlorianRappl/parcel-plugin-browserconfig.svg)](https://github.com/FlorianRappl/parcel-plugin-browserconfig/releases)
[![GitHub issues](https://img.shields.io/github/issues/FlorianRappl/parcel-plugin-browserconfig.svg)](https://github.com/FlorianRappl/parcel-plugin-browserconfig/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.,
```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](https://semver.org).
You can find the changelog in the [CHANGELOG.md](CHANGELOG.md) file.
## License
This plugin is released using the MIT license. For more information see the [LICENSE file](LICENSE).