Skip to content

Commit 257c740

Browse files
committed
fix?: Allow template to use import()
1 parent 2f6e1c1 commit 257c740

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config.ld

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,6 @@ postprocess_html = function(html, module)
3333

3434
return html
3535
end
36+
37+
-- Silly hack to allow template file to access import
38+
import("_G").import = import

0 commit comments

Comments
 (0)