mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 09:16:01 +08:00
[ts][pixi-v8] Add missing .js extensions.
This commit is contained in:
parent
9d49999e2b
commit
1b3194a67c
@ -27,7 +27,7 @@
|
||||
* 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';
|
||||
|
||||
|
||||
@ -42,7 +42,7 @@ import {
|
||||
Ticker,
|
||||
ViewContainer,
|
||||
} from 'pixi.js';
|
||||
import { ISpineDebugRenderer } from './SpineDebugRenderer';
|
||||
import { ISpineDebugRenderer } from './SpineDebugRenderer.js';
|
||||
import {
|
||||
AnimationState,
|
||||
AnimationStateData,
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
*****************************************************************************/
|
||||
|
||||
import { Container, Graphics, Text } from 'pixi.js';
|
||||
import { Spine } from './Spine';
|
||||
import { Spine } from './Spine.js';
|
||||
import {
|
||||
ClippingAttachment,
|
||||
MeshAttachment,
|
||||
|
||||
@ -36,8 +36,8 @@ import {
|
||||
type Renderer,
|
||||
type RenderPipe,
|
||||
} from 'pixi.js';
|
||||
import { BatchableSpineSlot } from './BatchableSpineSlot';
|
||||
import { Spine } from './Spine';
|
||||
import { BatchableSpineSlot } from './BatchableSpineSlot.js';
|
||||
import { Spine } from './Spine.js';
|
||||
import { MeshAttachment, RegionAttachment } from '@esotericsoftware/spine-core';
|
||||
|
||||
const spineBlendModeMap: Record<number, BLEND_MODES> = {
|
||||
|
||||
@ -37,7 +37,7 @@ import {
|
||||
Resolver,
|
||||
TextureSource
|
||||
} from 'pixi.js';
|
||||
import { SpineTexture } from '../SpineTexture';
|
||||
import { SpineTexture } from '../SpineTexture.js';
|
||||
import { TextureAtlas } from '@esotericsoftware/spine-core';
|
||||
|
||||
import type { AssetExtension, Loader, ResolvedAsset, Texture, UnresolvedAsset } from 'pixi.js';
|
||||
|
||||
@ -36,8 +36,8 @@ import {
|
||||
ExtensionType,
|
||||
Shader
|
||||
} from 'pixi.js';
|
||||
import { DarkTintBatchGeometry } from './DarkTintBatchGeometry';
|
||||
import { DarkTintShader } from './DarkTintShader';
|
||||
import { DarkTintBatchGeometry } from './DarkTintBatchGeometry.js';
|
||||
import { DarkTintShader } from './DarkTintShader.js';
|
||||
|
||||
let defaultShader: Shader | null = null;
|
||||
|
||||
|
||||
@ -39,7 +39,7 @@ import {
|
||||
roundPixelsBitGl,
|
||||
Shader
|
||||
} from 'pixi.js';
|
||||
import { darkTintBit, darkTintBitGl } from './darkTintBit';
|
||||
import { darkTintBit, darkTintBitGl } from './darkTintBit.js';
|
||||
|
||||
export class DarkTintShader extends Shader {
|
||||
constructor (maxTextures: number) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user