You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are creating ESM bundles including a dash.all.debug.esm.js and dash.all.min.esm.js. When testing the bundles and trying to import the dependencies the dash.all.debug.esm.js was working fine while dash.all.min.esm.js is not working. It looks like the modules are not correctly exported in dash.all.min.esm.js.
The text was updated successfully, but these errors were encountered:
I can see why its not working. Look at the last line of the minified file:
[5:03](https://dashif.slack.com/archives/D07KV3PUR6X/p1725548599604459)
p=dashjs,h=(r=r.default).false,y=r.false,b=r.false,v=r.false,E=r.false,_=r.false,T=r.default,A=r.false;export{h as Constants,y as Debug,b as MediaPlayer,v as MediaPlayerFactory,E as MetricsReporting,_ as Protection,T as default,A as supportsMediaSource};
All of the .false variables are undefined. I tried many different Webpack settings and so far nothing fixes it.
It looks like the .false naming is intentional and a feature of webpack's optimization step. Setting optimization.usedExports to false seems to fix the issue.
Description
We are creating ESM bundles including a
dash.all.debug.esm.js
anddash.all.min.esm.js
. When testing the bundles and trying to import the dependencies thedash.all.debug.esm.js
was working fine whiledash.all.min.esm.js
is not working. It looks like the modules are not correctly exported indash.all.min.esm.js
.The text was updated successfully, but these errors were encountered: