ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# 插件 官方插件:[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)