Skip to content

Commit b837480

Browse files
committed
build: Enable CJS bridge and customize entry file naming for Rollup output.
1 parent a50e75a commit b837480

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,9 @@ export default defineBuildConfig({
77
failOnWarn: false,
88
rollup: {
99
emitCJS: true,
10+
cjsBridge: true,
11+
output: {
12+
entryFileNames: '[name].js',
13+
},
1014
},
1115
});

0 commit comments

Comments
 (0)