mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
fix(build): mode env for "import" condition" (#1845)
* fix(build): mode env for "import" condition" * another way * yet another way
This commit is contained in:
parent
1a92e94d0a
commit
f0d9d984bd
@ -65,7 +65,7 @@ function createESMConfig(input, output) {
|
||||
}
|
||||
: {
|
||||
'import.meta.env?.MODE':
|
||||
'(import.meta.env && import.meta.env.MODE)',
|
||||
'(import.meta.env ? import.meta.env.MODE : undefined)',
|
||||
}),
|
||||
// a workround for #829
|
||||
'use-sync-external-store/shim/with-selector':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user