"use strict";Object.defineProperty(exports, "__esModule", {value: true}); var _chunkOMYAVNFSjs = require('./chunk-OMYAVNFS.js'); require('./chunk-JUWXSDKJ.js'); require('./chunk-6F4PWJZI.js'); // src/nuxt.ts function nuxt_default(options = {}, nuxt) { var _a; const nuxtApp = (this == null ? void 0 : this.nuxt) || nuxt; if ((_a = nuxtApp == null ? void 0 : nuxtApp._version) == null ? void 0 : _a.startsWith("3.")) options.compiler = "vue3"; nuxtApp.hook("webpack:config", (configs) => { configs.forEach((config) => { config.plugins = config.plugins || []; config.plugins.unshift(_chunkOMYAVNFSjs.src_default.webpack(options)); }); }); nuxtApp.hook("vite:extend", async (vite) => { vite.config.plugins = vite.config.plugins || []; vite.config.plugins.push(_chunkOMYAVNFSjs.src_default.vite(options)); }); } module.exports = nuxt_default; exports.default = module.exports;