vite-plugin-move-script
v1.0.8
Published
move script where in head to body
Downloads
6
Maintainers
Readme
// vite.config
import {moveScript} from 'vite-plugin-move-script';
defineConfig({
plugins: [
moveScript(),
];
})
// index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<!-- move-to-here -->
</body>
</html>