Skip to content

feat: add templating mode selector #1214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
May 23, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into templating-mode-selector
  • Loading branch information
paoloricciuti committed May 15, 2025
commit bb1b0747a6f5c79d441dd707da4dfccf91ca9a42
2 changes: 1 addition & 1 deletion packages/repl/src/lib/workers/bundler/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ async function get_bundle(

const compilerOptions: any = {
filename: name + '.svelte',
generate: Number(svelte.VERSION.split('.')[0]) >= 5 ? 'client' : 'dom',
generate: is_gt_5 ? 'client' : 'dom',
dev: true,
// @ts-expect-error
templatingMode: options.templatingMode
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.