We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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:
buildStarted
context
setContext
runEsbuild
The text was updated successfully, but these errors were encountered:
🎉 This issue has been resolved in version 6.4.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
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:
1.
buildStarted
will checkcontext
:2.
setContext
method happend inrunEsbuild
:3.
buildStarted
invoke beforerunEsbuild
, while exec buildStarted, it not yet set context, so it should throw error: "Plugin context is not set"The text was updated successfully, but these errors were encountered: