rspack
rspack copied to clipboard
feat: definePlugin helper
Summary
Add definePlugin
helper
Related issue (if exists)
#2263, continues #2267
Types of changes
- [ ] Docs change / Dependency upgrade
- [ ] Bug fix
- [x] New feature / Improvement
- [ ] Refactoring
- [ ] Breaking change
Checklist
- [x] I have added changeset via
pnpm run changeset
. - [ ] I have added tests to cover my changes.