🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
18
node_modules/astro/dist/vite-plugin-html/index.js
generated
vendored
Normal file
18
node_modules/astro/dist/vite-plugin-html/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import { transform } from "./transform/index.js";
|
||||
function html() {
|
||||
return {
|
||||
name: "astro:html",
|
||||
options(options) {
|
||||
var _a;
|
||||
options.plugins = (_a = options.plugins) == null ? void 0 : _a.filter((p) => p.name !== "vite:build-html");
|
||||
},
|
||||
async transform(source, id) {
|
||||
if (!id.endsWith(".html"))
|
||||
return;
|
||||
return await transform(source, id);
|
||||
}
|
||||
};
|
||||
}
|
||||
export {
|
||||
html as default
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue