feat: plugin system with isolated bundles (#2660)

(cherry picked from commit 94d20f1bdc)
This commit is contained in:
Himself65
2023-06-02 16:28:47 +08:00
committed by himself65
parent 66653d1d8a
commit bb8bfd0c9e
19 changed files with 147 additions and 28 deletions

View File

@@ -4,10 +4,16 @@
"main": "./src/index.ts",
"module": "./src/index.ts",
"exports": {
".": "./src/index.ts"
".": "./src/index.ts",
"./server": "./src/server.ts"
},
"scripts": {
"build": "vite build",
"dev": "vite build --watch"
},
"dependencies": {
"@toeverything/plugin-infra": "workspace:*"
"@toeverything/plugin-infra": "workspace:*",
"cheerio": "^1.0.0-rc.12"
},
"devDependencies": {
"react": "18.3.0-canary-16d053d59-20230506",