Skip to content

Commit

Permalink
add barrel file analysis for third-party packages
Browse files Browse the repository at this point in the history
  • Loading branch information
FogelAI committed May 21, 2024
1 parent 4289462 commit 1c2a0b2
Show file tree
Hide file tree
Showing 6 changed files with 480 additions and 181 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# babel-plugin-transform-barrels

[![npm](https://badgen.net/npm/v/babel-plugin-transform-barrels)](https://www.npmjs.com/package/babel-plugin-transform-barrels)
[![downloads](https://badgen.net/npm/dt/babel-plugin-transform-barrels)](https://www.npmjs.com/package/babel-plugin-transform-barrels)

This Babel plugin transforms indirect imports through a barrel file (index.js) into direct imports.

### Note
Expand Down
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
{
"name": "babel-plugin-transform-barrels",
"version": "1.0.12",
"version": "1.0.13",
"description": "This Babel plugin transforms indirect imports through a barrel file (index.js) into direct imports.",
"homepage": "https://github.com/FogelAI/babel-plugin-transform-barrels",
"main": "src/barrel.js",
"main": "src/main.js",
"keywords": [
"barrel",
"babel",
"plugin",
"transform",
"import",
"webpack",
"jest",
"index"
],
"repository": {
"type": "git",
"url": "FogelAI/babel-plugin-transform-barrels"
Expand Down
Loading

0 comments on commit 1c2a0b2

Please sign in to comment.