We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
// root.js const { foo } = require('./bundle.js'); // bundle.js module.exports = { foo: require('./foo.js'), bar: require('./bar.js'), }
In this case bar is not exported, but required and minifier can't eliminate this code.
bar
Compiled code looks like this
/***/ (function(module, exports, __webpack_require__) { module.exports = { "bar": ((__webpack_require__(4)),null), foo: __webpack_require__(5) }; /***/ }),
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In this case
bar
is not exported, but required and minifier can't eliminate this code.Compiled code looks like this
The text was updated successfully, but these errors were encountered: