暂存
This commit is contained in:
parent
88a9302ca7
commit
98298af2b2
2
lib/index.d.ts
vendored
2
lib/index.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
/// <reference types="global" />
|
||||
/// <reference types="../global.ts" />
|
||||
export * as GraphicsExtras from '@pixi/graphics-extras';
|
||||
export * from './app';
|
||||
export * from './core';
|
||||
|
@ -1,6 +1,4 @@
|
||||
import typescript from '@rollup/plugin-typescript';
|
||||
import replace from '@rollup/plugin-replace';
|
||||
import ts from 'typescript';
|
||||
|
||||
/**
|
||||
* @type {import('rollup').RollupOptions}
|
||||
@ -24,17 +22,8 @@ const config = {
|
||||
typescript({
|
||||
declaration: true,
|
||||
declarationDir: 'lib',
|
||||
include: ['src/**/*', 'global.d.ts'],
|
||||
include: ['src/**/*'],
|
||||
tsconfig: './tsconfig.json',
|
||||
// transformers: {
|
||||
// afterDeclarations: [
|
||||
// (context) =>
|
||||
// function visitor(node) {
|
||||
// console.log(node)
|
||||
// return ts.visitEachChild(node, visitor, context);
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
@ -11,8 +11,7 @@
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"isolatedModules": true,
|
||||
"lib": ["esnext", "dom"],
|
||||
"useDefineForClassFields": true,
|
||||
"noResolve": true
|
||||
"useDefineForClassFields": true
|
||||
},
|
||||
"include": ["src/**/*.ts", "global.d.ts"],
|
||||
"exclude": ["node_modules", "lib"]
|
||||
|
Loading…
Reference in New Issue
Block a user