7.6.0 • Published 3 years ago

babel-plugin-add-filehash v7.6.0

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

babel-plugin-add-filehash

This Babel plugin makes sure the Babel output changes whenever the input file changes, even if it are only trivial/whitespace changes.

Obsolete Use Case

Forcing babel output changes was necessary to make Webpack show updated eslint messages/... on "unchanged" files until webpack/webpack#2538 got fixed. This happened in Webpack v3.5.4 and now this plugin isn't necessary anymore for this use case.

Installation

With npm:

npm install --save-dev babel-plugin-add-filehash

Or with yarn:

yarn add --dev babel-plugin-add-filehash

After installation of the package you need to add the plugin to your project's .babelrc:

{
  "plugins": ["add-filehash"]
}

For more general info about using Babel plugins see the Babel handbook.

7.6.0

3 years ago

6.10.1

4 years ago

6.10.0

5 years ago

6.9.9

5 years ago

6.9.8

6 years ago

6.9.7

6 years ago

6.9.6

6 years ago

6.9.5

7 years ago

6.9.4

7 years ago

6.9.3

7 years ago

6.9.2

7 years ago

6.9.1

7 years ago

6.9.0

7 years ago