style: prevent use of .ts, .js import
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import type { ButtonItem } from '../theme/config.ts'
|
||||
import type { ButtonItem } from '../theme/config'
|
||||
|
||||
defineProps<{
|
||||
item: ButtonItem
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import type { ButtonItem } from '../theme/config.ts'
|
||||
import type { ButtonItem } from '../theme/config'
|
||||
|
||||
import HomeButton from './HomeButton.vue'
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { DefaultTheme } from 'vitepress'
|
||||
|
||||
import type { ThemeConfig } from './theme/config.ts'
|
||||
import type { ThemeConfig } from './theme/config'
|
||||
|
||||
import { join, posix, resolve } from 'node:path'
|
||||
import { env } from 'node:process'
|
||||
@@ -15,7 +15,7 @@ import { tasklist } from '@mdit/plugin-tasklist'
|
||||
import { defineConfig, postcssIsolateStyles } from 'vitepress'
|
||||
|
||||
import { version } from '../../package.json'
|
||||
import { webLive } from './constants.ts'
|
||||
import { webLive } from './constants'
|
||||
import { teamMembers } from './contributors'
|
||||
import {
|
||||
discord,
|
||||
|
||||
Reference in New Issue
Block a user