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
var $esm = { exports: {} } ;(function (module, exports) { module.exports = () => {}; exports.name = 'esm'; }($esm, $esm.exports)); var esm = $esm.exports; export { esm as default };
https://q.shanyue.tech/engineering/753.html
实现: https://github.com/wessberg/cjstoesm
Rollup 插件
@rollup/plugin-commonjs
babel-plugin-transform-commonjs
CDN
https://cdn.skypack.dev/
https://jspm.org/
The text was updated successfully, but these errors were encountered:
var LIB = (function (modules) { var installedModules = {}; function __webpack_require__ (moduleId) { if (installedModules[moduleId]) { return installedModules[moduleId].exports; } var module = installedModules[moduleId] = { i: moduleId, l: false, exports: {} }; modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); module.l = true; return module.exports; } return __webpack_require__("./test.js"); }) ({ "./test.js": (function (module, exports) { eval("console.log('test');\n\n//# sourceURL=webpack://LIB/./test.js?"); }) }); export default LIB; export { LIB };
Sorry, something went wrong.
No branches or pull requests
思考点
伪代码
https://q.shanyue.tech/engineering/753.html
实现: https://github.com/wessberg/cjstoesm
Rollup 插件
@rollup/plugin-commonjs
babel-plugin-transform-commonjs
CDN
https://cdn.skypack.dev/
https://jspm.org/
The text was updated successfully, but these errors were encountered: