Skip to content

Commit

Permalink
fix: webpack chunk loading global (#625)
Browse files Browse the repository at this point in the history
* fix: webpack chunk loading global

* chore: function name
  • Loading branch information
tsi authored Apr 30, 2024
1 parent f9e6e87 commit 40278a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion webpack/common.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ const webpackConfig = {
library: {
name: 'cloudinary-video-player',
type: 'umd'
}
},
chunkLoadingGlobal: 'cloudinaryVideoPlayerChunkLoading'
},

optimization: {
Expand Down
3 changes: 2 additions & 1 deletion webpack/es6.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ module.exports = merge(webpackCommon, {
publicPath: '',
library: {
type: 'module'
}
},
chunkLoadingGlobal: 'cloudinaryVideoPlayerChunkLoading'
},

plugins: [
Expand Down

0 comments on commit 40278a2

Please sign in to comment.