File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @next2d/framework-typescript-template" ,
33 "description" : " Next2D Framework default TypeScript template." ,
4- "version" : " 3.2.6 " ,
4+ "version" : " 3.2.7 " ,
55 "homepage" : " https://next2d.app" ,
66 "bugs" : " https://github.com/Next2D/framework-typescript-template/issues/new" ,
77 "author" : " Toshiyuki Ienaga<ienaga@next2d.app>" ,
Original file line number Diff line number Diff line change 2424 " vitest/globals"
2525 ],
2626
27- "esModuleInterop" : true ,
28- "baseUrl" : " ./src" ,
27+ "baseUrl" : " ." ,
2928 "paths" : {
30- "@/*" : [" *" ]
31- }
29+ "@/*" : [" src/ *" ]
30+ },
3231 },
3332 "include" : [
3433 " src/**/*.ts" ,
Original file line number Diff line number Diff line change 11/// <reference types="vitest" />
22
33import { defineConfig } from "vitest/config" ;
4- import tsconfigPaths from "vite-tsconfig-paths " ;
4+ import path from "path " ;
55import autoLoader from "@next2d/vite-plugin-next2d-auto-loader" ;
66
77export default defineConfig ( {
@@ -19,7 +19,6 @@ export default defineConfig({
1919 }
2020 } ,
2121 "plugins" : [
22- tsconfigPaths ( ) ,
2322 autoLoader ( )
2423 ] ,
2524 "server" : {
@@ -36,6 +35,11 @@ export default defineConfig({
3635 }
3736 }
3837 } ,
38+ "resolve" : {
39+ "alias" : {
40+ "@" : path . resolve ( process . cwd ( ) , "./src" )
41+ }
42+ } ,
3943 "test" : {
4044 "globals" : true ,
4145 "environment" : "jsdom" ,
You can’t perform that action at this time.
0 commit comments