Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 1.12 KB

File metadata and controls

29 lines (25 loc) · 1.12 KB

parcel-plugin-stringify-anything

GitHub license PRs Welcome code style: prettier npm version

Parcel plugin for importing any file types as string.

Installation

Using yarn:

yarn add parcel-plugin-stringify-anything parcel-bundler --dev

Or via npm:

npm install parcel-plugin-stringify-anything parcel-bundler --save-dev

Then, specify the file types to import as string. (e.g., the Markdown file):

package.json
{
  ...
+ "assetTypesToStringify": ["md"],
  "devDependencies": {
    "parcel-bundler": "^1.10.3",
    "parcel-plugin-stringify-anything": "^1.0.0"
  }
  ...
}