Fix in no layout
This commit is contained in:
parent
4dcdcf8ae8
commit
7b3b00cd66
1 changed files with 7 additions and 0 deletions
|
|
@ -284,6 +284,13 @@ function vite_images_rehype(opts) {
|
|||
}
|
||||
});
|
||||
|
||||
if (!is_script) {
|
||||
tree.children.push({
|
||||
type: 'raw',
|
||||
value: `<script>\n${scripts}</script>`,
|
||||
})
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue