Skip to content

Commit 4450866

Browse files
authored
chore: cleanup postbuild script (#102)
1 parent 2612d27 commit 4450866

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scripts/postbuild.ts

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ function patchCjs(cjsModulePath: string, name: string) {
66
writeFileSync(
77
cjsModulePath,
88
cjsModule.replace(`module.exports = ${name};`, `exports.default = ${name};\nexports.__esModule = true;`),
9-
// cjsModule.replace(`module.exports = ${cjsName};`, `module.exports = ${cjsName};\nexports.default = ${cjsName};`),
109
{ encoding: 'utf-8' },
1110
)
1211
}

0 commit comments

Comments
 (0)