企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# 插件 官方插件:[rollup/plugins](https://github.com/rollup/plugins/) # rollup-plugin-jscc Conditional compilation and compile-time variable replacement for Rollup # rollup-plugin-replace demo: [eventualbuddha/rollup-316 (github.com)](https://github.com/eventualbuddha/rollup-316) # rollup-plugin-babel ## rollup + babel + async/await [minimal working example: rollup + babel + async/await](https://github.com/rollup/rollup-plugin-babel/issues/312) # @rollup/plugin-babel ## (!) Circular dependency ``` const babelOptions = { babelHelpers: 'bundled', exclude: /^(.+\/)?node_modules\/.+$/, // only transpile our source code, not core-js in the node_modules circularly ! ...babelConfig }; ``` ## issues [@rollup/plugin-babel: babelHelpers option error](https://github.com/rollup/plugins/issues/381)