16 lines
452 B
JavaScript
16 lines
452 B
JavaScript
import { unplugin_default } from "./src-DOo-nqzQ.js";
|
|
|
|
//#region src/astro.ts
|
|
function astro_default(options) {
|
|
return {
|
|
name: "unplugin-auto-import",
|
|
hooks: { "astro:config:setup": async (astro) => {
|
|
var _astro$config$vite;
|
|
(_astro$config$vite = astro.config.vite).plugins || (_astro$config$vite.plugins = []);
|
|
astro.config.vite.plugins.push(unplugin_default.vite(options));
|
|
} }
|
|
};
|
|
}
|
|
|
|
//#endregion
|
|
export { astro_default as default }; |