parcel-plugin-ignore-assets
v1.0.0
Published
A parcel plugin to ignore url dependencies
Downloads
169
Maintainers
Readme
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.