Skip to content

Commit 041e92a

Browse files
1 parent 2cd4193 commit 041e92a

File tree

4 files changed

+10
-13
lines changed

4 files changed

+10
-13
lines changed

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"storybook": "^9.1.1",
7575
"storybook-mock-date-decorator": "^2.0.6",
7676
"tailwindcss": "3.4",
77-
"vite": "npm:rolldown-vite@latest",
77+
"vite": "^7.1.1",
7878
"vitest": "^3.2.4"
7979
},
8080
"postcss": {

src/components/Modal/SideModalBody.vue

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@
8282
</template>
8383

8484
<script setup>
85-
import {inject, computed, defineAsyncComponent, useId} from 'vue';
85+
import {inject, computed, useId} from 'vue';
86+
import TopNavActions from '@/components/TopNavActions/TopNavActions.vue';
8687
import {
8788
DialogContent,
8889
DialogTitle,
@@ -94,12 +95,6 @@ import {focusFirstHeading} from './modalHelpers';
9495
9596
const containerId = useId();
9697
97-
// Use the async component to avoid loading the TopNavActions component when not needed
98-
// This resolves the issue with Storybook not being able to load the component
99-
const TopNavActions = defineAsyncComponent(
100-
() => import('@/components/TopNavActions/TopNavActions.vue'),
101-
);
102-
10398
import {useLocalize} from '@/composables/useLocalize';
10499
105100
const {t} = useLocalize();

vite.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import path from 'path';
22
import vue from '@vitejs/plugin-vue';
3+
import {rolldownVersion} from 'vite';
4+
console.log('rolldownVersion:', rolldownVersion);
35

46
export default {
57
base: process.env.PKP_DOCS_VERSION

0 commit comments

Comments
 (0)