Skip to content

Commit

Permalink
Add Rolldown support
Browse files Browse the repository at this point in the history
  • Loading branch information
zauni committed Sep 20, 2024
1 parent 72a4db6 commit c273da7
Show file tree
Hide file tree
Showing 8 changed files with 384 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,22 @@ export default {

<br></details>

<details>
<summary>Rolldown</summary><br>

```ts
// rolldown.config.js
import openapi from 'unplugin-openapi/rolldown'

export default {
plugins: [
openapi(),
],
}
```

<br></details>

<details>
<summary>Webpack</summary><br>

Expand Down
246 changes: 246 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
"require": "./dist/esbuild.cjs",
"import": "./dist/esbuild.js"
},
"./rolldown": {
"require": "./dist/rolldown.cjs",
"import": "./dist/rolldown.js"
},
"./rollup": {
"require": "./dist/rollup.cjs",
"import": "./dist/rollup.js"
Expand Down Expand Up @@ -74,6 +78,7 @@
"glob": "^11.0.0",
"memfs": "^4.11.1",
"openapi-types": "^12.1.3",
"rolldown": "^0.13.2",
"rollup": "^4.21.3",
"tsup": "^8.2.4",
"tsx": "^4.19.1",
Expand Down
Loading

0 comments on commit c273da7

Please sign in to comment.