Skip to content

Commit

Permalink
ci: 🎡 添加忽略文件后缀配置
Browse files Browse the repository at this point in the history
  • Loading branch information
coder-czy committed Dec 19, 2023
1 parent 9aeb2b8 commit 2d9c6b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/layouts/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { SizeType } from "antd/es/config-provider/SizeContext";
import { useDispatch, useSelector } from "@/store";
import { updateCollapsed } from "@/store/module/sidebar";
import { setComponentSize, setLanguage } from "@/store/module/global";
import ThemeComp from "@/components/layouts/components/Theme";
import ThemeComp from "@/components/layouts/components/Theme/index";

Check failure on line 20 in src/components/layouts/components/Header/index.tsx

View workflow job for this annotation

GitHub Actions / build-and-deploy

Cannot find module '@/components/layouts/components/Theme/index' or its corresponding type declarations.
import FullScreen from "@/components/layouts/components/FullScreen";
import SvgIcon from "@/components/svgIcon";

Expand Down
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ export default defineConfig((mode: ConfigEnv): UserConfig => {
// 路径别名
alias: {
"@": resolve(__dirname, "./src")
}
},
extensions: [".mjs", ".js", ".ts", ".tsx", ".json"]
},
// 插件配置
plugins: [
Expand Down

0 comments on commit 2d9c6b0

Please sign in to comment.