mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
fix(build): patch entry points zustand/shallow for CJS (#2128)
This commit is contained in:
parent
55ad02b375
commit
4abacb29af
@ -185,7 +185,7 @@ module.exports = function (args) {
|
||||
createStore: 'vanilla.createStore',
|
||||
},
|
||||
vanilla: { default: 'vanilla', createStore: 'createStore' },
|
||||
shallow: { default: 'shallow$1', shallow: 'shallow' },
|
||||
shallow: { default: 'shallow', shallow: 'shallow$1' },
|
||||
}[c],
|
||||
}),
|
||||
createESMConfig(`src/${c}.ts`, `dist/esm/${c}.js`),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user