[ts][pixi-v8] Add missing .js extensions.

This commit is contained in:
Davide Tantillo 2024-11-15 10:20:12 +01:00
parent 9d49999e2b
commit 1b3194a67c
7 changed files with 9 additions and 9 deletions

View File

@ -27,7 +27,7 @@
* SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************/ *****************************************************************************/
import { AttachmentCacheData, Spine } from './Spine'; import { AttachmentCacheData, Spine } from './Spine.js';
import type { Batch, Batcher, BLEND_MODES, DefaultBatchableMeshElement, Matrix, Texture, Topology } from 'pixi.js'; import type { Batch, Batcher, BLEND_MODES, DefaultBatchableMeshElement, Matrix, Texture, Topology } from 'pixi.js';

View File

@ -42,7 +42,7 @@ import {
Ticker, Ticker,
ViewContainer, ViewContainer,
} from 'pixi.js'; } from 'pixi.js';
import { ISpineDebugRenderer } from './SpineDebugRenderer'; import { ISpineDebugRenderer } from './SpineDebugRenderer.js';
import { import {
AnimationState, AnimationState,
AnimationStateData, AnimationStateData,

View File

@ -28,7 +28,7 @@
*****************************************************************************/ *****************************************************************************/
import { Container, Graphics, Text } from 'pixi.js'; import { Container, Graphics, Text } from 'pixi.js';
import { Spine } from './Spine'; import { Spine } from './Spine.js';
import { import {
ClippingAttachment, ClippingAttachment,
MeshAttachment, MeshAttachment,

View File

@ -36,8 +36,8 @@ import {
type Renderer, type Renderer,
type RenderPipe, type RenderPipe,
} from 'pixi.js'; } from 'pixi.js';
import { BatchableSpineSlot } from './BatchableSpineSlot'; import { BatchableSpineSlot } from './BatchableSpineSlot.js';
import { Spine } from './Spine'; import { Spine } from './Spine.js';
import { MeshAttachment, RegionAttachment } from '@esotericsoftware/spine-core'; import { MeshAttachment, RegionAttachment } from '@esotericsoftware/spine-core';
const spineBlendModeMap: Record<number, BLEND_MODES> = { const spineBlendModeMap: Record<number, BLEND_MODES> = {

View File

@ -37,7 +37,7 @@ import {
Resolver, Resolver,
TextureSource TextureSource
} from 'pixi.js'; } from 'pixi.js';
import { SpineTexture } from '../SpineTexture'; import { SpineTexture } from '../SpineTexture.js';
import { TextureAtlas } from '@esotericsoftware/spine-core'; import { TextureAtlas } from '@esotericsoftware/spine-core';
import type { AssetExtension, Loader, ResolvedAsset, Texture, UnresolvedAsset } from 'pixi.js'; import type { AssetExtension, Loader, ResolvedAsset, Texture, UnresolvedAsset } from 'pixi.js';

View File

@ -36,8 +36,8 @@ import {
ExtensionType, ExtensionType,
Shader Shader
} from 'pixi.js'; } from 'pixi.js';
import { DarkTintBatchGeometry } from './DarkTintBatchGeometry'; import { DarkTintBatchGeometry } from './DarkTintBatchGeometry.js';
import { DarkTintShader } from './DarkTintShader'; import { DarkTintShader } from './DarkTintShader.js';
let defaultShader: Shader | null = null; let defaultShader: Shader | null = null;

View File

@ -39,7 +39,7 @@ import {
roundPixelsBitGl, roundPixelsBitGl,
Shader Shader
} from 'pixi.js'; } from 'pixi.js';
import { darkTintBit, darkTintBitGl } from './darkTintBit'; import { darkTintBit, darkTintBitGl } from './darkTintBit.js';
export class DarkTintShader extends Shader { export class DarkTintShader extends Shader {
constructor (maxTextures: number) { constructor (maxTextures: number) {