1.0.0 • Published 3 years ago

parcel-plugin-ignore-assets v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

parcel-plugin-ignore-assets

A parcel plugin to ignore url dependencies. Similar to webpack's emit: false asset/resource option.

Installation

npm install --save-dev parcel-plugin-ignore-assets

Usage

Define an array of extensions to be ignored in your package.json file:

"ignoreAssets": [".svg", ".png"]

Also supports kebab-case:

"ignore-assets": ["woff", "woff2"]

Note that the preceeding . period is not required.