Fix a crash when importing a vue component with no script tag. It also fixes the tests.
This was caused by a parsing error:
const __script = {}import { updateStyle } from "/@hmr"
which is not JS valid. So I add the following to be
const __script = {}
import { updateStyle } from "/@hmr"