Build error since new release #2621
Replies: 4 comments 4 replies
-
Thanks for reporting. |
Beta Was this translation helpful? Give feedback.
-
That sounds serious... |
Beta Was this translation helpful? Give feedback.
-
Ohhh, this is bad. I see why they can complain this. |
Beta Was this translation helpful? Give feedback.
-
#2622 should be the fix. I wonder if anyone can try and confirm it. https://ci.codesandbox.io/status/pmndrs/zustand/pr/2622 |
Beta Was this translation helpful? Give feedback.
-
Bug Description
Hello!
React material-table is using the "zustand-latest" as a dependency.
Since this morning we are getting an npm build error:
ERROR in ./node_modules/zustand/esm/index.js 1:0
13:29:16 Module parse failed: 'import' and 'export' may appear only with 'sourceType: module' (1:0)
13:29:16 You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
13:29:16 > import { createStore } from 'zustand/vanilla';
13:29:16 | export * from 'zustand/vanilla';
13:29:16 | import ReactExports from 'react';
13:29:16 @ ./node_modules/@material-table/core/dist/store/LocalizationStore.js 12:15-33
13:29:16 @ ./node_modules/@material-table/core/dist/index.js 116:25-61
Reproduction Link
Cannot provide example
Beta Was this translation helpful? Give feedback.
All reactions