We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00b2b5e commit 8767567Copy full SHA for 8767567
_extensions/sverto/create-imports.lua
@@ -79,9 +79,11 @@ local preprocess_qmd_filter = {
79
end
80
81
-- now change `import_svelte("X.svelte")` refs to `import("X.js")`
82
+ -- TODO - neaten up relative paths instead of assuming we're going from
83
+ -- /site_libs/quarto-ojs
84
block.text = block_text:gsub(
85
svelte_import_syntax,
- "import(\"%1.js\")")
86
+ "import(\"./../../%1.js\");")
87
88
89
return block
0 commit comments