Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit bf7bb2f

Browse files
committed
fix: remove tsconfig.json
1 parent 954d9c2 commit bf7bb2f

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
3+
"target": "ES2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
44
"module": "esnext", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
55
"resolveJsonModule": true,
66
"lib": [ "es5", "esnext", "dom" ],

vite.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ export default defineConfig({
2828
jsxFactory: 'h',
2929
jsxFragment: 'Fragment',
3030
},
31+
build: {
32+
target: 'modules',
33+
},
3134
optimizeDeps: {
3235
exclude: ['@popperjs/core', '@vueuse/core', '@vueuse/motion'],
3336
},

website/src/docs-theme/components/AppHeader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<script setup lang="ts">
7676
import { useColorModeValue } from '@chakra-ui/c-color-mode'
7777
import { useWindowScroll } from '@vueuse/core'
78-
import { onMounted, ref, watchEffect } from 'vue'
78+
import { onMounted, ref } from 'vue'
7979
8080
const headerRef = ref<{ $el: HTMLDivElement }>()
8181

website/vite.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ const config: UserConfig = {
3131
'@': `${path.resolve(__dirname, 'src')}`,
3232
},
3333
},
34+
build: {
35+
target: 'modules',
36+
},
3437
plugins: [
3538
Vue({ include: [/\.vue$/, /\.mdx$/] }),
3639
VueMdx({

0 commit comments

Comments
 (0)