Skip to content

Commit b81c186

Browse files
committed
restore: use commonjs and node
1 parent f5c3ce8 commit b81c186

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "koishi-plugin-ba-logo",
33
"description": "碧蓝档案 Logo 生成器",
4-
"version": "1.1.7",
4+
"version": "1.1.8",
55
"main": "lib/index.js",
66
"typings": "lib/index.d.ts",
77
"files": [

tsconfig.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33
"rootDir": "src",
44
"outDir": "lib",
55
"target": "es2022",
6-
"module": "ESNext",
6+
"module": "commonjs",
77
"declaration": true,
88
"composite": true,
99
"incremental": true,
1010
"skipLibCheck": true,
1111
"esModuleInterop": true,
12-
"emitDeclarationOnly": true,
13-
"moduleResolution": "Bundler",
12+
"moduleResolution": "node",
1413
"jsx": "react-jsx",
1514
"jsxImportSource": "@satorijs/element",
1615
"types": ["node", "yml-register/types"]

0 commit comments

Comments
 (0)