Commit 8ccbb5e7 authored by nanahira's avatar nanahira

tsx

parent 0bc044a9
Pipeline #19132 passed with stages
in 3 minutes and 8 seconds
...@@ -8,7 +8,9 @@ ...@@ -8,7 +8,9 @@
"experimentalDecorators": true, "experimentalDecorators": true,
"declaration": true, "declaration": true,
"sourceMap": true, "sourceMap": true,
"skipLibCheck": true "skipLibCheck": true,
"jsx": "react-jsx",
"jsxImportSource": "@satorijs/element"
}, },
"compileOnSave": true, "compileOnSave": true,
"allowJs": true, "allowJs": true,
...@@ -16,6 +18,10 @@ ...@@ -16,6 +18,10 @@
"*.ts", "*.ts",
"src/**/*.ts", "src/**/*.ts",
"tests/**/*.ts", "tests/**/*.ts",
"dev/**/*.ts" "dev/**/*.ts",
"*.tsx",
"src/**/*.tsx",
"tests/**/*.tsx",
"dev/**/*.tsx"
] ]
} }
...@@ -41,6 +41,8 @@ module.exports = { ...@@ -41,6 +41,8 @@ module.exports = {
}, },
externals: { externals: {
koishi: 'koishi', koishi: 'koishi',
'@satorijs/element': '@satorijs/element',
'@satorijs/element/jsx-runtime': '@satorijs/element',
...(packAll ? {} : externalsFromDep()), ...(packAll ? {} : externalsFromDep()),
}, },
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment