版博士V2.0程序
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

astro.cjs 578 B

12345678910111213141516171819202122
  1. "use strict";Object.defineProperty(exports, "__esModule", {value: true});
  2. var _chunkUYEZILGYcjs = require('./chunk-UYEZILGY.cjs');
  3. require('./chunk-GOGBRDVI.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(_chunkUYEZILGYcjs.unplugin_default.vite(options));
  13. }
  14. }
  15. };
  16. }
  17. module.exports = astro_default;
  18. exports.default = module.exports;