Package Exports
- @wessberg/browserslist-generator
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@wessberg/browserslist-generator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Browserslist Generator
Description
A library that helps with generating a browserslist automatically. For example, a browserslist can be generated that targets only browsers that support specific required features.
Installation
npm install @wessberg/browserslist-generator
Usage
import {browsersWithSupportForFeatures} from "@wessberg/browserslist-generator";
// Generate a browserslist for browsers that support all of the given features
const browserslist = browsersWithSupportForFeatures(
"es6-module",
"shadowdomv1",
"custom-elementsv1"
);