Skip to content

Commit 71a00d6

Browse files
committed
config: update webpack config to work with server-side rendering
1 parent e81471c commit 71a00d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ module.exports = {
2828
name: '@lightninglabs/lnc-core',
2929
type: "umd", // see https://webpack.js.org/configuration/output/#outputlibrarytype
3030
},
31+
globalObject: 'this',
3132
path: path.resolve(__dirname, 'dist'),
3233
},
3334
};

0 commit comments

Comments
 (0)