Skip to content

Commit

Permalink
fix: set globalObject to this in webpack config (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaryt authored Sep 23, 2022
1 parent 46cb714 commit d9db669
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ export const config: webpack.Configuration = {
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'index.js',
library: {
name: 'CircleCI',
type: 'umd',
},
library: 'CircleCI',
libraryTarget: 'umd',
globalObject: 'this',
},
optimization: {
minimize: true,
Expand Down

0 comments on commit d9db669

Please sign in to comment.