@cnguu/vite-plugin-uni-cdn 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ export * from './dist'
2
+
3
+ export { default } from './dist'
package/package.json ADDED
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "@cnguu/vite-plugin-uni-cdn",
3
+ "type": "module",
4
+ "version": "1.0.0",
5
+ "description": "Vite 插件,在 UniApp 中替换资源链接为 CDN 链接",
6
+ "license": "MIT",
7
+ "homepage": "https://github.com/cnguu/vite-plugin-uni-cdn",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/cnguu/vite-plugin-uni-cdn.git"
11
+ },
12
+ "bugs": "https://github.com/cnguu/vite-plugin-uni-cdn/issues",
13
+ "keywords": [
14
+ "vite",
15
+ "plugin",
16
+ "uni",
17
+ "uniapp",
18
+ "cdn"
19
+ ],
20
+ "maintainers": [
21
+ {
22
+ "name": "cnguu",
23
+ "email": "gu642779596@gmail.com",
24
+ "url": "https://github.com/cnguu"
25
+ }
26
+ ],
27
+ "sideEffects": false,
28
+ "exports": {
29
+ ".": {
30
+ "import": {
31
+ "types": "./index.d.ts",
32
+ "default": "./dist/index.mjs"
33
+ },
34
+ "require": {
35
+ "types": "./index.d.ts",
36
+ "default": "./dist/index.cjs"
37
+ }
38
+ }
39
+ },
40
+ "main": "./dist/index.cjs",
41
+ "module": "./dist/index.mjs",
42
+ "types": "./index.d.ts",
43
+ "files": [
44
+ "dist",
45
+ "index.d.ts"
46
+ ],
47
+ "peerDependencies": {
48
+ "vite": "^5.0.0"
49
+ },
50
+ "scripts": {
51
+ "build": "unbuild",
52
+ "debug": "cross-env NODE_ENV=development unbuild --sourcemap",
53
+ "stub": "unbuild --stub"
54
+ }
55
+ }