[ts] Add missing .js extensions.

This commit is contained in:
Mario Zechner 2023-11-06 13:30:50 +01:00
parent 9c87764291
commit 8d832b3834
5 changed files with 8 additions and 8 deletions

View File

@ -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}.
* *

View File

@ -38,7 +38,7 @@ import {
VisibleMixin, VisibleMixin,
AlphaMixin, AlphaMixin,
OriginMixin, OriginMixin,
} from "./mixins"; } from "./mixins.js";
import { import {
AnimationState, AnimationState,
AnimationStateData, AnimationStateData,

View File

@ -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";

View File

@ -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";

View File

@ -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