JSPM

auto-hmr-loader

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q37428F
  • License MIT

Hot Module replacement (HMR) Webpack Loader

Package Exports

  • auto-hmr-loader

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 (auto-hmr-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

enginedigital/auto-hmr-loader

Forked from AgeOfLearning/aofl hmr-loader

Getting Started

Run npm i -S enginedigital/auto-hmr-loader

Or add "auto-hmr-loader": "https://github.com/enginedigital/auto-hmr-loader",

Then add the loader to your webpack config:

module: {
  rules: [
    {
      test: /\.js$/,
      enforce: 'pre',
      use: [
        {
          loader: 'auto-hmr-loader',
          options: {
            cache: true
          }
        }
      ]
    }
  ]
}

TODO

  • Handle require imports