Cannot assign to read only property 'exports' of object '#<Object>' (mix require and export) · Issue #4039 · webpack/webpack

Do you want to request a feature or report a bug? bug What is the current behavior? Module with code // 'a.js' module.exports = { a: 'b' }; // b.js const a = require('./a.js').a; export default { a...