Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

babel-plugin-add-filehash

Package Overview
Dependencies
2
Maintainers
1
Versions
13
Issues
File Explorer

Advanced tools

babel-plugin-add-filehash

Makes sure Babel output changes whenever the input file changes.

    7.6.0latest

Version published
Maintainers
1
Yearly downloads
10,968
decreased by-42.3%

Weekly downloads

Changelog

Source

v7.6.0, 2021-01-15 (compare to v6.10.1)

  • Compatiblity (Breaking change): Update to babel v7
  • Improvement: Update dependencies to current versions

Readme

Source

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.

Keywords

FAQs

What is babel-plugin-add-filehash?

Makes sure Babel output changes whenever the input file changes.

Is babel-plugin-add-filehash popular?

The npm package babel-plugin-add-filehash receives a total of 234 weekly downloads. As such, babel-plugin-add-filehash popularity was classified as not popular.

Is babel-plugin-add-filehash well maintained?

We found that babel-plugin-add-filehash demonstrated a not healthy version release cadence and project activity. It has 1 open source maintainer collaborating on the project.

Last updated on 15 Jan 2021
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc