Open Ramzza opened 4 months ago
It works for me. Can you create a sandbox with the current zustand version that fails?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You can reopen it if it required.
Describe the bug 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
To Reproduce
Expected behavior Build passes, as it did yesterday, before the new patch release of Zustand (dependency of material-table-core)