File tree Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ jobs:
143
143
steps :
144
144
- run : echo "Build & Test Failed"
145
145
146
- test-native -plugins :
146
+ test-js -plugins :
147
147
needs : changed
148
148
if : needs.changed.outputs.should_skip != 'true'
149
149
timeout-minutes : 20
@@ -154,7 +154,7 @@ jobs:
154
154
node_version : [22]
155
155
fail-fast : false
156
156
157
- name : " Build&Test: node-${{ matrix.node_version }}, ${{ matrix.os }} (native plugins)"
157
+ name : " Build&Test: node-${{ matrix.node_version }}, ${{ matrix.os }} (js plugins)"
158
158
steps :
159
159
- name : Checkout
160
160
uses : actions/checkout@v4
@@ -203,17 +203,17 @@ jobs:
203
203
- name : Test unit
204
204
run : pnpm run test-unit
205
205
env :
206
- _VITE_TEST_NATIVE_PLUGIN : 1
206
+ _VITE_TEST_JS_PLUGIN : 1
207
207
208
208
- name : Test serve
209
209
run : pnpm run test-serve
210
210
env :
211
- _VITE_TEST_NATIVE_PLUGIN : 1
211
+ _VITE_TEST_JS_PLUGIN : 1
212
212
213
213
- name : Test build
214
214
run : pnpm run test-build
215
215
env :
216
- _VITE_TEST_NATIVE_PLUGIN : 1
216
+ _VITE_TEST_JS_PLUGIN : 1
217
217
218
218
lint :
219
219
timeout-minutes : 10
Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ markdownStyles: false
15
15
import { useData } from ' vitepress'
16
16
import { onBeforeUnmount , onMounted , ref } from ' vue'
17
17
18
- import Hero from ' .vitepress/theme/components/landing/1. hero-section/HeroSection.vue'
18
+ import Hero from ' ./. vitepress/theme/components/landing/1. hero-section/HeroSection.vue'
19
19
import FeatureSection from ' ./.vitepress/theme/components/landing/2. feature-section/FeatureSection.vue'
20
20
import FrameworksSection from ' ./.vitepress/theme/components/landing/3. frameworks-section/FrameworksSection.vue'
21
21
import CommunitySection from ' ./.vitepress/theme/components/landing/4. community-section/CommunitySection.vue'
22
22
import SponsorSection from ' ./.vitepress/theme/components/landing/5. sponsor-section/SponsorSection.vue'
23
- import GetStartedSection from ' .vitepress/theme/components/landing/6. get-started-section/GetStartedSection.vue'
23
+ import GetStartedSection from ' ./. vitepress/theme/components/landing/6. get-started-section/GetStartedSection.vue'
24
24
import FeatureInstantServerStart from ' ./.vitepress/theme/components/landing/2. feature-section/FeatureInstantServerStart.vue'
25
25
import FeatureHMR from ' ./.vitepress/theme/components/landing/2. feature-section/FeatureHMR.vue'
26
26
import FeatureRichFeatures from ' ./.vitepress/theme/components/landing/2. feature-section/FeatureRichFeatures.vue'
Original file line number Diff line number Diff line change @@ -730,9 +730,7 @@ export const configDefaults = Object.freeze({
730
730
importGlobRestoreExtension : false ,
731
731
renderBuiltUrl : undefined ,
732
732
hmrPartialAccept : false ,
733
- enableNativePlugin : process . env . _VITE_TEST_NATIVE_PLUGIN
734
- ? 'resolver'
735
- : false ,
733
+ enableNativePlugin : process . env . _VITE_TEST_JS_PLUGIN ? false : 'resolver' ,
736
734
} ,
737
735
future : {
738
736
removePluginHookHandleHotUpdate : undefined ,
You can’t perform that action at this time.
0 commit comments