Package Exports
- pundle-api
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 (pundle-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Pundle-Plugin-Helpers
This module is a collection of helpers for your Pundle Loaders and Plugins.
Example Usage
import * as Helpers from 'pundle-plugin-helpers'
// TODO: Write the rest of itAPI
type Rule = string | RegExp
type Config = {
include?: Rule | Array<Rule>,
exclude?: Rule | Array<Rule>,
extensions: Array<string>,
}
export function matchesRules(sourceRoot: string, filePath: string, rules: Array<Rule>, exclude: boolean = true): boolean;
export function shouldProcess(sourceRoot: string, filePath: string, config: Config): boolean;License
This project is licensed under the terms of MIT License. See the root of the github repo for more info.