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