-
-
Notifications
You must be signed in to change notification settings - Fork 261
Closed
Labels
Description
export default defineConfig({
// ...
plugins: [
{
name: 'tsup-test',
buildStart: () => {
console.log('tsup-test', 'buildStart');
},
buildEnd(ctx) {
console.log('tsup-test', 'buildEnd', ctx);
},
},
]
// ...
})
I tried this config, it seem throw Error:
Error: Plugin context is not set
at PluginContainer.getContext
Then I check source code, it real exist a logic error: