├── .editorconfig ├── .gitattributes ├── .github ├── FUNDING.yml ├── renovate.json5 └── workflows │ ├── release-commit.yml │ ├── release.yml │ └── unit-test.yml ├── .gitignore ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── benchmark └── index.js ├── eslint.config.js ├── package.json ├── playground ├── index.html ├── package.json ├── public │ └── favicon.ico ├── src │ ├── App.vue │ ├── components │ │ ├── app-footer.vue │ │ ├── app-header.vue │ │ └── code-input.vue │ ├── composables │ │ └── dark.ts │ ├── env.d.ts │ ├── main.ts │ ├── styles │ │ └── main.css │ └── typings │ │ ├── auto-import.d.ts │ │ └── components.d.ts ├── tsconfig.json ├── tsconfig.node.json ├── uno.config.ts └── vite.config.ts ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── src ├── api.ts ├── core │ ├── convert.ts │ ├── options.ts │ └── utils.ts ├── esbuild.ts ├── index.ts ├── rolldown.ts ├── rollup.ts ├── rspack.ts ├── vite.ts └── webpack.ts ├── tests ├── jsx-raw.test.tsx └── jsx-to-string.test.tsx ├── tsconfig.json └── vitest.config.ts /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: sxzz 2 | -------------------------------------------------------------------------------- /.github/renovate.json5: -------------------------------------------------------------------------------- 1 | { 2 | extends: ['github>sxzz/renovate-config'], 3 | } 4 | -------------------------------------------------------------------------------- /.github/workflows/release-commit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/.github/workflows/release-commit.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/unit-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/.github/workflows/unit-test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | *.log 5 | .vercel 6 | .eslintcache 7 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/README.md -------------------------------------------------------------------------------- /benchmark/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/benchmark/index.js -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/eslint.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/package.json -------------------------------------------------------------------------------- /playground/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/playground/index.html -------------------------------------------------------------------------------- /playground/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/playground/package.json -------------------------------------------------------------------------------- /playground/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/playground/public/favicon.ico -------------------------------------------------------------------------------- /playground/src/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/playground/src/App.vue -------------------------------------------------------------------------------- /playground/src/components/app-footer.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/playground/src/components/app-footer.vue -------------------------------------------------------------------------------- /playground/src/components/app-header.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/playground/src/components/app-header.vue -------------------------------------------------------------------------------- /playground/src/components/code-input.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/playground/src/components/code-input.vue -------------------------------------------------------------------------------- /playground/src/composables/dark.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/playground/src/composables/dark.ts -------------------------------------------------------------------------------- /playground/src/env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/playground/src/env.d.ts -------------------------------------------------------------------------------- /playground/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/playground/src/main.ts -------------------------------------------------------------------------------- /playground/src/styles/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/playground/src/styles/main.css -------------------------------------------------------------------------------- /playground/src/typings/auto-import.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/playground/src/typings/auto-import.d.ts -------------------------------------------------------------------------------- /playground/src/typings/components.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/playground/src/typings/components.d.ts -------------------------------------------------------------------------------- /playground/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/playground/tsconfig.json -------------------------------------------------------------------------------- /playground/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/playground/tsconfig.node.json -------------------------------------------------------------------------------- /playground/uno.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/playground/uno.config.ts -------------------------------------------------------------------------------- /playground/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/playground/vite.config.ts -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - playground 3 | -------------------------------------------------------------------------------- /src/api.ts: -------------------------------------------------------------------------------- 1 | export { transformJsxToString } from './core/convert' 2 | -------------------------------------------------------------------------------- /src/core/convert.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/src/core/convert.ts -------------------------------------------------------------------------------- /src/core/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/src/core/options.ts -------------------------------------------------------------------------------- /src/core/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/src/core/utils.ts -------------------------------------------------------------------------------- /src/esbuild.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/src/esbuild.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/rolldown.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/src/rolldown.ts -------------------------------------------------------------------------------- /src/rollup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/src/rollup.ts -------------------------------------------------------------------------------- /src/rspack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/src/rspack.ts -------------------------------------------------------------------------------- /src/vite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/src/vite.ts -------------------------------------------------------------------------------- /src/webpack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/src/webpack.ts -------------------------------------------------------------------------------- /tests/jsx-raw.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/tests/jsx-raw.test.tsx -------------------------------------------------------------------------------- /tests/jsx-to-string.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/tests/jsx-to-string.test.tsx -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unplugin/unplugin-jsx-string/HEAD/vitest.config.ts --------------------------------------------------------------------------------