mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-22 04:06:51 +00:00
[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": {
|
"engines": {
|
||||||
"node": ">=20.0.0"
|
"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 type { GameMode } from "#app/game-mode";
|
||||||
import { applyChallenges, ChallengeType } from "./challenge";
|
import { applyChallenges, ChallengeType } from "./challenge";
|
||||||
import { SwitchType } from "#enums/switch-type";
|
import { SwitchType } from "#enums/switch-type";
|
||||||
import { StatusEffect } from "enums/status-effect";
|
import { StatusEffect } from "#enums/status-effect";
|
||||||
import { globalScene } from "#app/global-scene";
|
import { globalScene } from "#app/global-scene";
|
||||||
|
|
||||||
export enum MoveCategory {
|
export enum MoveCategory {
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
"paths": {
|
"paths": {
|
||||||
"#enums/*": ["./enums/*.ts"],
|
"#enums/*": ["./enums/*.ts"],
|
||||||
"#app/*": ["*.ts"],
|
"#app/*": ["*.ts"],
|
||||||
"#app": ["."],
|
|
||||||
"#test/*": ["./test/*.ts"]
|
"#test/*": ["./test/*.ts"]
|
||||||
},
|
},
|
||||||
"outDir": "./build",
|
"outDir": "./build",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user