astro.cjs 578 B

12345678910111213141516171819202122
  1. "use strict";Object.defineProperty(exports, "__esModule", {value: true});
  2. var _chunkERF3N54Scjs = require('./chunk-ERF3N54S.cjs');
  3. require('./chunk-6UOGCAOY.cjs');
  4. // src/astro.ts
  5. function astro_default(options) {
  6. return {
  7. name: "unplugin-auto-import",
  8. hooks: {
  9. "astro:config:setup": async (astro) => {
  10. var _a;
  11. (_a = astro.config.vite).plugins || (_a.plugins = []);
  12. astro.config.vite.plugins.push(_chunkERF3N54Scjs.unplugin_default.vite(options));
  13. }
  14. }
  15. };
  16. }
  17. module.exports = astro_default;
  18. exports.default = module.exports;