Skip to content

Commit 40278a2

Browse files
authored
fix: webpack chunk loading global (#625)
* fix: webpack chunk loading global * chore: function name
1 parent f9e6e87 commit 40278a2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

webpack/common.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ const webpackConfig = {
2323
library: {
2424
name: 'cloudinary-video-player',
2525
type: 'umd'
26-
}
26+
},
27+
chunkLoadingGlobal: 'cloudinaryVideoPlayerChunkLoading'
2728
},
2829

2930
optimization: {

webpack/es6.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ module.exports = merge(webpackCommon, {
2424
publicPath: '',
2525
library: {
2626
type: 'module'
27-
}
27+
},
28+
chunkLoadingGlobal: 'cloudinaryVideoPlayerChunkLoading'
2829
},
2930

3031
plugins: [

0 commit comments

Comments
 (0)