配置调整

This commit is contained in:
Yuan 2023-12-18 18:03:25 +08:00
parent d8f1ff2442
commit 59bbe2a41f
3 changed files with 5 additions and 7 deletions

View File

@ -18,19 +18,19 @@
"dependencies": {
"@pixi/graphics-extras": "^7.3.2",
"@pixi/utils": "^7.3.2",
"@rollup/plugin-alias": "^5.1.0",
"@stomp/stompjs": "^7.0.0",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.1",
"mqtt": "^5.2.1",
"pixi-viewport": "^5.0.1",
"pixi.js": "^7.3.2"
},
"devDependencies": {
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-typescript": "^11.1.5",
"@types/node": "^12.20.21",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.1",
"prettier": "^3.1.1",
"rollup": "^4.8.0",
"rollup-plugin-dts": "^6.1.0",

View File

@ -1,5 +1,4 @@
import typescript from '@rollup/plugin-typescript';
import ts from 'typescript';
/**
* @type {import('rollup').RollupOptions}
@ -21,7 +20,6 @@ const config = {
logLevel: 'debug',
plugins: [
typescript({
// declaration: true,
declarationDir: 'lib',
include: ['src/**/*'],
tsconfig: './tsconfig.json',

View File

@ -6,7 +6,7 @@
"module": "ESNext",
"target": "ESNext",
"moduleResolution": "node",
"typeRoots": ["node_modules/@types"],
"typeRoots": ["node_modules/@types", "global.d.ts"],
"strict": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,