🔧 Update config

This commit is contained in:
marocchino 2026-04-05 16:38:21 +09:00
parent 6ef1707d4b
commit 809b61d045
No known key found for this signature in database
GPG key ID: F54107506CCF18D0
2 changed files with 4 additions and 1 deletions

View file

@ -5,6 +5,7 @@ import nodeResolve from "@rollup/plugin-node-resolve"
import typescript from "@rollup/plugin-typescript" import typescript from "@rollup/plugin-typescript"
const config = { const config = {
context: "globalThis",
input: "src/main.ts", input: "src/main.ts",
output: { output: {
exports: "auto", exports: "auto",

View file

@ -17,9 +17,11 @@
"outDir": "./dist", "outDir": "./dist",
"pretty": true, "pretty": true,
"resolveJsonModule": true, "resolveJsonModule": true,
"rootDir": "./src",
"strict": true, "strict": true,
"strictNullChecks": true, "strictNullChecks": true,
"target": "ES2022" "target": "ES2022",
"types": ["node"]
}, },
"exclude": ["node_modules", "**/*.test.ts", "dist"], "exclude": ["node_modules", "**/*.test.ts", "dist"],
"include": ["src"] "include": ["src"]