Mathis Møller

Results 34 comments of Mathis Møller

Created a PR for this: https://github.com/pmndrs/jotai/pull/1480

Follow work here: https://github.com/pmndrs/swc-jotai

I can fix it @kenotron, if you'd like.

I looked a bit into it, seems like removing `void`, just surfaces another problem. When I tried to write a test, to see if I could call `cached()` on the...

@kenotron I wasnt clear in my description, what I meant by es modules support was that Webpack doesnt have libraryTarget: 'esm', as described here: https://github.com/webpack/webpack/issues/2933

I can also contribute to those tasks, if needed.

This issue also comes up when using the `@swc/plugin-loadable-components` as it utilizes `eval`.

> Hey @nygardk @Thisen any chance for fixing this in the future? :) Does the problem exist for `0.2.0`?

Please try out `0.3.0`. If that doesn't fix the issue, please reopen the issue.