parcel-transformer-hmr-options-override

1.0.0 • Public • Published

Parcel HMR Options Override

This plugin addresses this Parcel issue #7640

Install

npm install parcel-transformer-hmr-options-override --save-dev

or with yarn

yarn add -D parcel-transformer-hmr-options-override

Usage

If you don't already have one create a .parcelrc configuration file in the same directory of your package.json and add the transformer in your pipeline. It is suggested to add it in the last position.

{
  "extends": "@parcel/config-default",
  "transformers": {
    "*.js": [
      "...",
      "parcel-transformer-hmr-options-override"
    ]
  }
}

For a more complex use please refer to the Official Parcel Documentation

/parcel-transformer-hmr-options-override/

    Package Sidebar

    Install

    npm i parcel-transformer-hmr-options-override

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    1.78 kB

    Total Files

    3

    Last publish

    Collaborators

    • fabioimpe