Skip to content

Commit 6a6e820

Browse files
committed
Minor fix
1 parent 85d19e1 commit 6a6e820

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

src/components/utils/infiniteScroll.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ const props = defineProps({
4747
4848
const emit = defineEmits(["load"]);
4949
50-
const scrollContainer = ref<HTMLElement>();
5150
const sentinel = ref<HTMLElement>();
5251
const items = ref([...props.initialItems]);
5352
const loading = ref(false);

vite.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,15 @@ export default defineConfig({
114114
},
115115
},
116116
},
117+
build:{
118+
rollupOptions:{
119+
output:{
120+
manualChunks: (id) => {
121+
if(id.includes("highlight.js")){
122+
return "highlightjs";
123+
}
124+
}
125+
}
126+
}
127+
}
117128
});

0 commit comments

Comments
 (0)