Skip to content

Commit

Permalink
feat: add runtime-cdn-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Levix committed Jan 8, 2024
1 parent d86ff71 commit b8c4880
Show file tree
Hide file tree
Showing 3 changed files with 392 additions and 6 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A Vite plugin that supports runtime CDN configuration.

## License

[MIT](./LICENSE) License © 2023-PRESENT [Levix](https://github.com/Levix)
[MIT](./LICENSE) License © [Levix](https://github.com/Levix)

<!-- Badges -->

Expand All @@ -22,5 +22,3 @@ A Vite plugin that supports runtime CDN configuration.
[bundle-href]: https://bundlephobia.com/result?p=vite-plugin-runtime-cdn
[license-src]: https://img.shields.io/github/license/Levix/vite-plugin-runtime-cdn.svg?style=flat&colorA=080f12&colorB=1fa669
[license-href]: https://github.com/Levix/vite-plugin-runtime-cdn/blob/main/LICENSE
[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat&colorA=080f12&colorB=1fa669
[jsdocs-href]: https://www.jsdocs.io/package/vite-plugin-runtime-cdn
15 changes: 14 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@
"url": "git+https://github.com/Levix/vite-plugin-runtime-cdn.git"
},
"bugs": "https://github.com/Levix/vite-plugin-runtime-cdn/issues",
"keywords": [],
"keywords": [
"vite",
"vite2.9",
"vite3",
"vite4",
"vite-plugin",
"vite-plugin-runtime-cdn",
"runtime-cdn"
],
"sideEffects": false,
"exports": {
".": {
Expand Down Expand Up @@ -47,6 +55,11 @@
"typecheck": "tsc --noEmit",
"prepare": "simple-git-hooks"
},
"peerDependencies": {
"es-module-lexer": "^1.4.1",
"magic-string": "^0.30.5",
"vite": ">= 2.9.0"
},
"devDependencies": {
"@antfu/eslint-config": "^2.6.0",
"@antfu/ni": "^0.21.12",
Expand Down
Loading

0 comments on commit b8c4880

Please sign in to comment.