Skip to content

Commit

Permalink
globalObject to this
Browse files Browse the repository at this point in the history
  • Loading branch information
b-cooper committed Dec 19, 2023
1 parent 451173b commit cfa0361
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module.exports = async () =>
filename: 'opentrons-components.js',
library: '@opentrons/components',
libraryTarget: 'umd',
globalObject: 'this'
},
plugins: [],
module: { rules: [rules.js] },
Expand Down
3 changes: 3 additions & 0 deletions shared-data/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ module.exports = async () =>
filename: 'opentrons-shared-data.js',
library: '@opentrons/shared-data',
libraryTarget: 'umd',
globalObject: 'this'
},
plugins: [],
module: { rules: [rules.js] },
optimization: {},
devServer: {}
})

0 comments on commit cfa0361

Please sign in to comment.