版博士V2.0程序
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

27 wiersze
922 B

  1. "use strict";Object.defineProperty(exports, "__esModule", {value: true});
  2. var _chunkOMYAVNFSjs = require('./chunk-OMYAVNFS.js');
  3. require('./chunk-JUWXSDKJ.js');
  4. require('./chunk-6F4PWJZI.js');
  5. // src/nuxt.ts
  6. function nuxt_default(options = {}, nuxt) {
  7. var _a;
  8. const nuxtApp = (this == null ? void 0 : this.nuxt) || nuxt;
  9. if ((_a = nuxtApp == null ? void 0 : nuxtApp._version) == null ? void 0 : _a.startsWith("3."))
  10. options.compiler = "vue3";
  11. nuxtApp.hook("webpack:config", (configs) => {
  12. configs.forEach((config) => {
  13. config.plugins = config.plugins || [];
  14. config.plugins.unshift(_chunkOMYAVNFSjs.src_default.webpack(options));
  15. });
  16. });
  17. nuxtApp.hook("vite:extend", async (vite) => {
  18. vite.config.plugins = vite.config.plugins || [];
  19. vite.config.plugins.push(_chunkOMYAVNFSjs.src_default.vite(options));
  20. });
  21. }
  22. module.exports = nuxt_default;
  23. exports.default = module.exports;