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 @@
"experimentalDecorators": true,
"declaration": true,
"sourceMap": true,
"skipLibCheck": true
"skipLibCheck": true,
"jsx": "react-jsx",
"jsxImportSource": "@satorijs/element"
},
"compileOnSave": true,
"allowJs": true,
......@@ -16,6 +18,10 @@
"*.ts",
"src/**/*.ts",
"tests/**/*.ts",
"dev/**/*.ts"
"dev/**/*.ts",
"*.tsx",
"src/**/*.tsx",
"tests/**/*.tsx",
"dev/**/*.tsx"
]
}
......@@ -41,6 +41,8 @@ module.exports = {
},
externals: {
koishi: 'koishi',
'@satorijs/element': '@satorijs/element',
'@satorijs/element/jsx-runtime': '@satorijs/element',
...(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