-
Notifications
You must be signed in to change notification settings - Fork 0
#54 vite.configとtsconfigの設定値の変更 #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| /// <reference types="vitest" /> | ||
|
|
||
| import { defineConfig } from "vitest/config"; | ||
| import tsconfigPaths from "vite-tsconfig-paths"; | ||
| import path from "path"; | ||
| import autoLoader from "@next2d/vite-plugin-next2d-auto-loader"; | ||
|
|
||
| export default defineConfig({ | ||
|
|
@@ -19,7 +19,6 @@ export default defineConfig({ | |
| } | ||
| }, | ||
| "plugins": [ | ||
| tsconfigPaths(), | ||
| autoLoader() | ||
| ], | ||
| "server": { | ||
|
|
@@ -36,6 +35,11 @@ export default defineConfig({ | |
| } | ||
| } | ||
| }, | ||
| "resolve": { | ||
| "alias": { | ||
| "@": path.resolve(process.cwd(), "./src") | ||
|
||
| } | ||
| }, | ||
| "test": { | ||
| "globals": true, | ||
| "environment": "jsdom", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
vite-tsconfig-pathspackage is no longer used after removing thetsconfigPaths()plugin from the configuration. Consider removing this package from the devDependencies intemplate/package.jsonto keep dependencies clean and reduce bundle size.