mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-15 06:07:30 +03:00
0266df5776
* chore(deps): update jest monorepo to v29 * Add jest-environment-jsdom * Replace globals with transform * Fix nanoid in ui and rtk-query-monitor * Update serialize snapshots * Fix nanoid in test-tab * Fix nanoid and uuid in app * Fix nanoid and uuid in extension Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nathan Bierema <nbierema@gmail.com>
12 lines
263 B
JavaScript
12 lines
263 B
JavaScript
module.exports = (path, options) => {
|
|
return options.defaultResolver(path, {
|
|
...options,
|
|
packageFilter: (pkg) => {
|
|
if (pkg.name === 'nanoid') {
|
|
pkg.exports['.'].browser = pkg.exports['.'].require;
|
|
}
|
|
return pkg;
|
|
},
|
|
});
|
|
};
|