feat: migrate from raw HTML to JSX (TSX / SolidJS) (#3583)

Co-authored-by: Su-Yong <simssy2205@gmail.com>
This commit is contained in:
JellyBrick
2025-07-09 23:14:11 +09:00
committed by GitHub
parent 9ccd126eee
commit e114e0ef44
90 changed files with 1723 additions and 1357 deletions

View File

@ -20,13 +20,18 @@ export const pluginVirtualModuleGenerator = (
) => {
const srcPath = resolve(__dirname, '..', 'src');
const plugins = globSync([
'src/plugins/*/index.{js,ts}',
'src/plugins/*.{js,ts}',
'src/plugins/*/index.{js,ts,jsx,tsx}',
'src/plugins/*.{js,ts,jsx,tsx}',
'!src/plugins/utils/**/*',
'!src/plugins/utils/*',
]).map((path) => {
let name = basename(path);
if (name === 'index.ts' || name === 'index.js') {
if (
name === 'index.ts' ||
name === 'index.js' ||
name === 'index.jsx' ||
name === 'index.tsx'
) {
name = basename(resolve(path, '..'));
}