[Misc] Prevent auto-imports from appending `.js` to imports (#5256)
Also fixes `#enums` import not being recognized by auto-imports
This commit is contained in:
parent
c363d2b93c
commit
e5691f11a4
|
@ -64,11 +64,5 @@
|
|||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
},
|
||||
"imports": {
|
||||
"#enums/*": "./enums/*",
|
||||
"#app": "./src/main.js",
|
||||
"#app/*": "./src/*",
|
||||
"#test/*": "./src/test/*"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ import { SpeciesFormChangeRevertWeatherFormTrigger } from "./pokemon-forms";
|
|||
import type { GameMode } from "#app/game-mode";
|
||||
import { applyChallenges, ChallengeType } from "./challenge";
|
||||
import { SwitchType } from "#enums/switch-type";
|
||||
import { StatusEffect } from "enums/status-effect";
|
||||
import { StatusEffect } from "#enums/status-effect";
|
||||
import { globalScene } from "#app/global-scene";
|
||||
|
||||
export enum MoveCategory {
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
"paths": {
|
||||
"#enums/*": ["./enums/*.ts"],
|
||||
"#app/*": ["*.ts"],
|
||||
"#app": ["."],
|
||||
"#test/*": ["./test/*.ts"]
|
||||
},
|
||||
"outDir": "./build",
|
||||
|
|
Loading…
Reference in New Issue