Skip to content
Discussion options

You must be logged in to vote

solid uses jsx as a templating language and hence requires its own compiler pipeline which is babel only atm. community maintained esbuild plugin also exists and used here.

here's a working git diff (excluded `deno.lock`)
diff --git a/build/esbuild.ts b/build/esbuild.ts
index fc6ead5..f2b7684 100644
--- a/build/esbuild.ts
+++ b/build/esbuild.ts
@@ -4,6 +4,7 @@ import { bold, green, magenta } from '@std/fmt/colors';
 import { parseArgs } from '@std/cli/parse-args';
 import { copy as esbuildPluginCopy } from './plugins/copy.ts';
 import { denoPlugin as esbuildPluginDeno } from "@deno/esbuild-plugin";
+import { solidPlugin as esbuildPluginSolid } from 'esbuild-plugin-solid';
 import { trans…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Mqxx
Comment options

@Mqxx
Comment options

@Mqxx
Comment options

Answer selected by Mqxx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants