Skip to content

Commit 45bdbfa

Browse files
committed
fix/ Use globalThis property, a standard way of accessing the global this on browser & Node
1 parent f78a81f commit 45bdbfa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: angular.webpack.js

+3
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,8 @@ module.exports = (config, options) => {
2828
})
2929
];
3030

31+
// https://github.com/ryanclark/karma-webpack/issues/497
32+
config.output.globalObject = 'globalThis';
33+
3134
return config;
3235
}

0 commit comments

Comments
 (0)