megawac / babel-plugin-ramda

Easy :ram: modular builds
311 stars 33 forks source link

babel-plugin-ramda strips off Ramda completely if used with babel 7.18.6 #65

Open chestozo opened 2 years ago

chestozo commented 2 years ago

This one

import R from 'ramda'

gets removed. The result is similar to this issue #36.

chestozo commented 2 years ago

Not sure how to create a minimal reproducible case.
After upgrading babel version in https://github.com/megawac/babel-plugin-ramda/blob/master/package.json all tests still work.

Amerr commented 1 year ago

is it still an issue ? because i am facing a new issue when using ESM option to true


    Must use import to load ES Module: /node_modules/ramda/es/map.js