Skip to content

Commit b9be50d

Browse files
committed
新增 .fatherrc.ts 配置文件,定义 ESM、CJS 和 UMD 构建选项,优化项目构建配置。
1 parent c9d6c86 commit b9be50d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.fatherrc.mts renamed to .fatherrc.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export default defineConfig({
1010
},
1111
// 以下为 cjs 配置项启用时的默认值,有自定义需求时才需配置
1212
cjs: {
13-
extraBabelPlugins: [[import.meta.resolve('./scripts/replaceEs.mjs'), {}]],
1413
input: 'src', // 默认编译目录
1514
output: 'lib',
1615
platform: 'browser', // 默认构建为 Node.js 环境的产物

0 commit comments

Comments
 (0)