使用 Babel 将 ES6 代码转换为 ES5 代码,并避免出现 "Error: 'import' and 'export' may appear only with'sourceType: module'" 问题 2025-03-14 12:16