mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Support json imports
This commit is contained in:
1 file changed
+1
-1
@@ -52,7 +52,7 @@ export function fsPlugin(fs: JSRuntimeFS, cwd: string): Plugin {
|
||||
|
||||
const ext = extname(path).slice(1);
|
||||
|
||||
if (!["ts", "tsx", "js", "jsx", "css"].includes(ext)) {
|
||||
if (!["ts", "tsx", "js", "jsx", "css", "json"].includes(ext)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user