You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
922 B
27 lines
922 B
"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;
|