react-tags icon indicating copy to clipboard operation
react-tags copied to clipboard

Jest not able to add `.ts` extension to fuzzyfy

Open shrilakshmishastry opened this issue 1 year ago • 2 comments

Getting the below error

image

shrilakshmishastry avatar Aug 20 '24 06:08 shrilakshmishastry

Hey @ad1992 👋

I have a fix for this. I will fix it along with this PR.

The issue is: Generally node_modules are precompiled to common.js (non-modular )versions of js i.e. not es6. In Fuzzify it's expected to bundle and take care by the consumer package. Hence we need to tell jest how to handle this.

shrilakshmishastry avatar Aug 21 '24 05:08 shrilakshmishastry

Hey @ad1992 👋

I have a fix for this. I will fix it along with this PR.

The issue is: Generally node_modules are precompiled to common.js (non-modular )versions of js i.e. not es6. In Fuzzify it's expected to bundle and take care by the consumer package. Hence we need to tell jest how to handle this.

@shrilakshmishastry awesome, just link this issue as well in your PR

ad1992 avatar Aug 21 '24 05:08 ad1992