astro-live-code
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "astro-live-code", | ||
"type": "module", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"license": "MIT", | ||
"repository": { | ||
@@ -6,0 +7,0 @@ "type": "git", |
@@ -415,2 +415,3 @@ import { visitParents as unistVisit } from 'unist-util-visit-parents' | ||
case 'jsx': | ||
case 'tsx': | ||
return `\ | ||
@@ -441,3 +442,7 @@ import Inner from ${JSON.stringify(inner)} | ||
}` | ||
default: | ||
throw new Error( | ||
`Language "${lang}" is not supported for use with wrappers. If you'd like to see it supported please open an issue https://github.com/mattjennings/astro-live-code/issues`, | ||
) | ||
} | ||
} |
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
16773
9
0
498