create-vitebook
Advanced tools
Comparing version 0.25.2 to 0.25.3
{ | ||
"name": "create-vitebook", | ||
"type": "module", | ||
"version": "0.25.2", | ||
"version": "0.25.3", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "main": "bin/create-vitebook.js", |
@@ -26,14 +26,2 @@ // @ts-check | ||
); | ||
builder.hooks.postBuild.push(() => { | ||
const indexFile = builder.dirs.src.template.root.readFile('index.html'); | ||
builder.dirs.dest.root.writeFile( | ||
'index.html', | ||
indexFile.replace( | ||
'<!--@vitebook/head-->', | ||
`<link rel="stylesheet" href="/src/global.css" />\n <!--@vitebook/head-->`, | ||
), | ||
{ overwrite: true }, | ||
); | ||
}); | ||
} | ||
@@ -40,0 +28,0 @@ |
import { defineConfig } from '@vitebook/core/node'; | ||
export default defineConfig({ | ||
// Vitebook configuration. | ||
vitebook: {}, | ||
}); |
Sorry, the diff of this file is not supported yet
35
69193
1106