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:
143143 steps :
144144 - run : echo "Build & Test Failed"
145145
146- test-native -plugins :
146+ test-js -plugins :
147147 needs : changed
148148 if : needs.changed.outputs.should_skip != 'true'
149149 timeout-minutes : 20
@@ -154,7 +154,7 @@ jobs:
154154 node_version : [22]
155155 fail-fast : false
156156
157- name : " Build&Test: node-${{ matrix.node_version }}, ${{ matrix.os }} (native plugins)"
157+ name : " Build&Test: node-${{ matrix.node_version }}, ${{ matrix.os }} (js plugins)"
158158 steps :
159159 - name : Checkout
160160 uses : actions/checkout@v4
@@ -203,17 +203,17 @@ jobs:
203203 - name : Test unit
204204 run : pnpm run test-unit
205205 env :
206- _VITE_TEST_NATIVE_PLUGIN : 1
206+ _VITE_TEST_JS_PLUGIN : 1
207207
208208 - name : Test serve
209209 run : pnpm run test-serve
210210 env :
211- _VITE_TEST_NATIVE_PLUGIN : 1
211+ _VITE_TEST_JS_PLUGIN : 1
212212
213213 - name : Test build
214214 run : pnpm run test-build
215215 env :
216- _VITE_TEST_NATIVE_PLUGIN : 1
216+ _VITE_TEST_JS_PLUGIN : 1
217217
218218 lint :
219219 timeout-minutes : 10
Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ markdownStyles: false
1515import { useData } from ' vitepress'
1616import { onBeforeUnmount , onMounted , ref } from ' vue'
1717
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'
1919import FeatureSection from ' ./.vitepress/theme/components/landing/2. feature-section/FeatureSection.vue'
2020import FrameworksSection from ' ./.vitepress/theme/components/landing/3. frameworks-section/FrameworksSection.vue'
2121import CommunitySection from ' ./.vitepress/theme/components/landing/4. community-section/CommunitySection.vue'
2222import 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'
2424import FeatureInstantServerStart from ' ./.vitepress/theme/components/landing/2. feature-section/FeatureInstantServerStart.vue'
2525import FeatureHMR from ' ./.vitepress/theme/components/landing/2. feature-section/FeatureHMR.vue'
2626import 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({
730730 importGlobRestoreExtension : false ,
731731 renderBuiltUrl : undefined ,
732732 hmrPartialAccept : false ,
733- enableNativePlugin : process . env . _VITE_TEST_NATIVE_PLUGIN
734- ? 'resolver'
735- : false ,
733+ enableNativePlugin : process . env . _VITE_TEST_JS_PLUGIN ? false : 'resolver' ,
736734 } ,
737735 future : {
738736 removePluginHookHandleHotUpdate : undefined ,
You can’t perform that action at this time.
0 commit comments