feat: add vite plugin (#3187)

Second attempt after we had to revert
https://github.com/denoland/fresh/pull/3185
This commit is contained in:
Marvin Hagemeister
2025-08-06 12:13:22 +02:00
committed by GitHub
parent a5205b2a8e
commit 36aa9b5639
55 changed files with 2303 additions and 285 deletions
+13 -2
View File
@@ -5,6 +5,7 @@
"./init",
"./plugin-tailwindcss",
"./plugin-tailwindcss-v3",
"./plugin-vite",
"./update",
"./www"
],
@@ -14,9 +15,12 @@
"exports": {
".": "./src/mod.ts",
"./runtime": "./src/runtime/shared.ts",
"./runtime-client": "./src/runtime/client/mod.tsx",
"./dev": "./src/dev/mod.ts",
"./compat": "./src/compat.ts",
"./do-not-use": "./src/internals.ts"
"./internal": "./src/internals.ts",
"./internal-dev": "./src/internals_dev.ts",
"./build-id": "./src/runtime/build_id.ts"
},
"tasks": {
"test": "deno test -A --parallel",
@@ -30,7 +34,14 @@
"test:www": "deno test -A www/main_test.*",
"release": "deno run -A tools/release.ts"
},
"exclude": ["**/_fresh/*", "**/tmp/*", "*/tests_OLD/**"],
"exclude": [
"**/_fresh/*",
"**/tmp/*",
"*/tests_OLD/**",
"**/vite.config.ts.*",
"*/vite.config.ts.*",
"vite.config.ts.*"
],
"publish": {
"include": [
"src/**",