Skip to content

Commit 67a6335

Browse files
Reapply "feat: Add experimental vite plugin (#3184)" (#3185)
This reverts commit 2f76a0a.
1 parent a5205b2 commit 67a6335

54 files changed

Lines changed: 2283 additions & 281 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ jobs:
4242
working-directory: ./update
4343
run: deno publish
4444

45+
- name: Publish @fresh/plugin-vite
46+
working-directory: ./plugin-vite
47+
run: deno publish
48+
4549
- name: Publish @fresh/examples
4650
working-directory: ./examples
4751
run: deno publish

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
_fresh/
2+
.vite/
23
vendor/
34
node_modules/
45
.docs/

deno.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"./init",
66
"./plugin-tailwindcss",
77
"./plugin-tailwindcss-v3",
8+
"./plugin-vite",
89
"./update",
910
"./www"
1011
],
@@ -14,9 +15,12 @@
1415
"exports": {
1516
".": "./src/mod.ts",
1617
"./runtime": "./src/runtime/shared.ts",
18+
"./runtime-client": "./src/runtime/client/mod.tsx",
1719
"./dev": "./src/dev/mod.ts",
1820
"./compat": "./src/compat.ts",
19-
"./do-not-use": "./src/internals.ts"
21+
"./internal": "./src/internals.ts",
22+
"./internal-dev": "./src/internals_dev.ts",
23+
"./build-id": "./src/runtime/build_id.ts"
2024
},
2125
"tasks": {
2226
"test": "deno test -A --parallel",
@@ -30,7 +34,14 @@
3034
"test:www": "deno test -A www/main_test.*",
3135
"release": "deno run -A tools/release.ts"
3236
},
33-
"exclude": ["**/_fresh/*", "**/tmp/*", "*/tests_OLD/**"],
37+
"exclude": [
38+
"**/_fresh/*",
39+
"**/tmp/*",
40+
"*/tests_OLD/**",
41+
"**/vite.config.ts.*",
42+
"*/vite.config.ts.*",
43+
"vite.config.ts.*"
44+
],
3445
"publish": {
3546
"include": [
3647
"src/**",

0 commit comments

Comments
 (0)