jotaijs / jotai-devtools

A powerful toolkit to enhance your development experience with Jotai
https://jotai.org/docs/tools/devtools
MIT License
134 stars 33 forks source link

fix: generate esm modules with process.env.NODE_ENV #60

Closed arjunvegda closed 1 year ago

arjunvegda commented 1 year ago

Summary


codesandbox-ci[bot] commented 1 year ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 2b2603e67eb03e111e2bd8a9e5195d88c316e5c3:

Sandbox Source
React Configuration
React Typescript Configuration
dai-shi commented 1 year ago

It's something we dropped in jotai v2. https://github.com/pmndrs/jotai/pull/1675 If this solves some cases, should we revert it? cc: @barelyhuman