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
Since recently, I have in my dist 11 files with respectively "Preview", "DailyMotion", "Facebook", "Youtube" and so on named by [Number].js. Even when I have excluded the node_modules from my webpack config for babel-loader.
I would like to exclude those files to have exclusively the source files in my dist.
Here is my webpack config and a screenshot of my dist:
This is what I would expect in version 2.1.0, although the lack of proper chunk names is not ideal. The different players are now dynamically imported when they are needed, based on the url passed in. This results in a chunk for each player.
I imagine you can get more control of how things are chunked with SplitChunksPlugin but I need to look into it properly.
I will add some comments to give chunks names (eg reactPlayerYouTube, reactPlayerFacebook, etc) for future clarity.
Since recently, I have in my dist 11 files with respectively "Preview", "DailyMotion", "Facebook", "Youtube" and so on named by [Number].js. Even when I have excluded the node_modules from my webpack config for babel-loader.
I would like to exclude those files to have exclusively the source files in my dist.
Here is my webpack config and a screenshot of my dist:
And my dist files look like:
Thanks for your precious help. I've spent hours looking for a solution but .. nothing works!
The text was updated successfully, but these errors were encountered: