webpack.js.org
                                
                                 webpack.js.org copied to clipboard
                                
                                    webpack.js.org copied to clipboard
                            
                            
                            
                        Document webpack change: enable named exports for commonjs as node.js supports it now
A pull request by @sokra was merged and maintainers requested a documentation change.
See pull request: https://github.com/webpack/webpack/pull/11885
fixes #11878
What kind of change does this PR introduce? bugfix, feature
Did you add tests for your changes? yes
Does this PR introduce a breaking change? no
What needs to be documented once your changes are merged? Even in .mjs named exports of commonjs modules are supported. In contrast to node.js webpack supports all possible runtime values not only static analysables.
__esModule is intentionally not supported from .mjs for compat reasons
Yes, feel free to send PR
@evilebottnawi ok