mirror of
https://github.com/unjs/unplugin.git
synced 2026-01-25 16:07:28 +00:00
* loose start for bun plugin * implement bun * support emitFile() * fix Bun cases in integration test * add bun to other test files * remove bun-types-no-globals from github * restore bun-types-no-globals from npm @^1.2 * bun does not yet support .onEnd, so for now we shouldn't fake it with brittle workarounds * add Bun in the documentation * some missing bun references in docs * support multiple plugins * use Bun namespace instead of importing module that won't necessarily exist * Bun is a cute pink color! * fix the transform hook * fix for virtual modules * tidy up * setup bun in ci * revert unplugin require path * ignore bun in test-out folders * update tests * support onEnd * remove * implement guessLoader(), bun also now supports onEnd() * don't eat errors/warnings * we dont need to outdir for bun in this test * bun writebundle test * Update to bun@1.2.22 (supports onEnd and onResolve) * use onStart() * define onStart() in mocks * onStart * ci: run vitest in Bun so we can run bun's tests * Bun error message if building outside of Bun * skip bun specific tests when not running in bun * refactor * allow only * ci: fix typecheck --------- Co-authored-by: Kevin Deng <sxzz@sxzz.moe>
38 lines
757 B
Markdown
38 lines
757 B
Markdown
<p align="center">
|
|
<img src="https://raw.githubusercontent.com/unplugin/docs/main/public/logo.svg">
|
|
</p>
|
|
|
|
<h1 align="center">
|
|
Unplugin
|
|
</h1>
|
|
<p align="center">
|
|
Unified plugin system, Support Vite, Rollup, webpack, esbuild, Bun, and more
|
|
</p>
|
|
|
|
<p align="center">
|
|
<a href="https://unplugin.unjs.io">Documentation</a>
|
|
</p>
|
|
|
|
## Development
|
|
|
|
This project use [GitHub GraphQL API](https://docs.github.com/en/graphql) to generate the showcase data. So you need to create a [GitHub Personal Access Token](https://github.com/settings/personal-access-tokens/new) first.
|
|
|
|
```bash
|
|
cp .env.example .env
|
|
```
|
|
|
|
```ini
|
|
# .env
|
|
GITHUB_TOKEN=<YOUR_TOKEN>
|
|
```
|
|
|
|
### Generate files
|
|
|
|
```bash
|
|
pnpm gen-files
|
|
```
|
|
|
|
## Contributing
|
|
|
|
Please refer to https://github.com/antfu/contribute
|