-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
This is great! It works with all 3 cases listed here and is much simpler than the other modules:
- babel-plugin-array-last-index (doesn't work for
foo = arr[-1], interceptsget()calls with no way to turn it off, much more code) - babel-plugin-negative-array-indices (installation issues, no longer on GitHub, much more code)
The only issue with installing this from GitHub is that it's an ESM, so ideally that would be replaced (or augmented) with a CommonJS build:
export default function ({ types: t }) {
^^^^^^
SyntaxError: Unexpected token 'export'
Also a release would provide an opportunity to bump the dev dependencies to Babel v7 (which it works fine with).
Metadata
Metadata
Assignees
Labels
No labels