Skip to content

Commit 4ff82cb

Browse files
committed
chore: plugin system
1 parent 769bab3 commit 4ff82cb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

build.config.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,18 @@ export default defineConfig({
1616
ignoreInitial: false,
1717
watchNewFiles: true,
1818
},
19+
plugins: [
20+
{
21+
name: 'robuild-plugin-build',
22+
transform(code, id) {
23+
console.log({ id })
24+
return {
25+
code,
26+
}
27+
},
28+
async buildEnd() {
29+
console.log('✅ buildEnd...')
30+
},
31+
},
32+
],
1933
})

0 commit comments

Comments
 (0)