Skip to content

Commit

Permalink
Merge pull request cloudinary#382 from cloudinary/ME-5330-es-module-t…
Browse files Browse the repository at this point in the history
…ree-shaking

ME-5330-es-module-tree-shaking export chunk destination
  • Loading branch information
tsi authored Feb 14, 2023
2 parents f296f2c + f66e70b commit 30079d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webpack/es6.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ module.exports = merge(webpackCommon, {

entry: {
'cld-video-player': './index.all.js',
'videoPlayer/index': './index.es.js'
'videoPlayer': './index.es.js'
},

output: {
filename: '[name].js',
path: path.resolve(__dirname, '../lib'),
chunkFilename: '[name]/index.js',
chunkFilename: '[name].js',
publicPath: '',
library: {
type: 'module'
Expand Down

0 comments on commit 30079d2

Please sign in to comment.