mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[ts] Add missing .js extensions.
This commit is contained in:
parent
9c87764291
commit
8d832b3834
@ -36,7 +36,7 @@ import { PointAttachment } from "./attachments/PointAttachment.js";
|
|||||||
import { RegionAttachment } from "./attachments/RegionAttachment.js";
|
import { RegionAttachment } from "./attachments/RegionAttachment.js";
|
||||||
import { Skin } from "./Skin.js";
|
import { Skin } from "./Skin.js";
|
||||||
import { TextureAtlas } from "./TextureAtlas.js";
|
import { TextureAtlas } from "./TextureAtlas.js";
|
||||||
import { Sequence } from "./attachments/Sequence"
|
import { Sequence } from "./attachments/Sequence.js"
|
||||||
|
|
||||||
/** An {@link AttachmentLoader} that configures attachments using texture regions from an {@link TextureAtlas}.
|
/** An {@link AttachmentLoader} that configures attachments using texture regions from an {@link TextureAtlas}.
|
||||||
*
|
*
|
||||||
|
|||||||
@ -38,7 +38,7 @@ import {
|
|||||||
VisibleMixin,
|
VisibleMixin,
|
||||||
AlphaMixin,
|
AlphaMixin,
|
||||||
OriginMixin,
|
OriginMixin,
|
||||||
} from "./mixins";
|
} from "./mixins.js";
|
||||||
import {
|
import {
|
||||||
AnimationState,
|
AnimationState,
|
||||||
AnimationStateData,
|
AnimationStateData,
|
||||||
|
|||||||
@ -43,9 +43,9 @@ import {
|
|||||||
Utils,
|
Utils,
|
||||||
Vector2,
|
Vector2,
|
||||||
} from "@esotericsoftware/spine-core";
|
} from "@esotericsoftware/spine-core";
|
||||||
import type { SpineTexture } from "./SpineTexture";
|
import type { SpineTexture } from "./SpineTexture.js";
|
||||||
import { SlotMesh } from "./SlotMesh";
|
import { SlotMesh } from "./SlotMesh.js";
|
||||||
import type { ISpineDebugRenderer } from "./SpineDebugRenderer";
|
import type { ISpineDebugRenderer } from "./SpineDebugRenderer.js";
|
||||||
import { Assets } from "@pixi/assets";
|
import { Assets } from "@pixi/assets";
|
||||||
import type { IPointData } from "@pixi/core";
|
import type { IPointData } from "@pixi/core";
|
||||||
import { Ticker, utils } from "@pixi/core";
|
import { Ticker, utils } from "@pixi/core";
|
||||||
|
|||||||
@ -30,7 +30,7 @@
|
|||||||
import { Container } from "@pixi/display";
|
import { Container } from "@pixi/display";
|
||||||
import { Graphics } from "@pixi/graphics";
|
import { Graphics } from "@pixi/graphics";
|
||||||
import { Text } from "@pixi/text";
|
import { Text } from "@pixi/text";
|
||||||
import type { Spine } from "./Spine";
|
import type { Spine } from "./Spine.js";
|
||||||
import type { AnimationStateListener } from "@esotericsoftware/spine-core";
|
import type { AnimationStateListener } from "@esotericsoftware/spine-core";
|
||||||
import { ClippingAttachment, MeshAttachment, PathAttachment, RegionAttachment, SkeletonBounds } from "@esotericsoftware/spine-core";
|
import { ClippingAttachment, MeshAttachment, PathAttachment, RegionAttachment, SkeletonBounds } from "@esotericsoftware/spine-core";
|
||||||
|
|
||||||
|
|||||||
@ -43,5 +43,5 @@ export * from './darkTintMesh/DarkTintRenderer.js';
|
|||||||
export * from "@esotericsoftware/spine-core";
|
export * from "@esotericsoftware/spine-core";
|
||||||
|
|
||||||
|
|
||||||
import './assets/atlasLoader'; // Side effects install the loaders into pixi
|
import './assets/atlasLoader.js'; // Side effects install the loaders into pixi
|
||||||
import './assets/skeletonLoader'; // Side effects install the loaders into pixi
|
import './assets/skeletonLoader.js'; // Side effects install the loaders into pixi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user