Skip to content

Commit 24af7e4

Browse files
committed
fix(overmind-devtools-client): workaround for localStorage in node 25
1 parent c971ac6 commit 24af7e4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/overmind-devtools-client/webpack.prod.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ const basePlugins = base.plugins.filter(
88
(plugin) => !(plugin instanceof HtmlWebpackPlugin)
99
)
1010

11+
global.localStorage = {} // workaround for node 25 and HtmlWebpackPlugin's `...global`
12+
1113
module.exports = merge(
1214
{
1315
...base,

0 commit comments

Comments
 (0)