This PR ensures that we insert template declarations after the last import.
Before:
import { jsxssr as _jsxssr } from "react/jsx-runtime";
const $$_tpl_1 = [
"<div></div>"
];
import Foo from "./foo.ts";
import Bar from "./bar.ts";
const a = _jsxssr($$_tpl_1);
After:
import { jsxssr as _jsxssr } from "react/jsx-runtime";
import Foo from "./foo.ts";
import Bar from "./bar.ts";
const $$_tpl_1 = [
"<div></div>"
];
const a = _jsxssr($$_tpl_1);
This PR ensures that we insert template declarations after the last import.
Before:
After: