'use strict'; const kit = require('@nuxt/kit'); const path = require('path'); const url = require('url'); const module$1 = kit.defineNuxtModule({ meta: { name: "ual", configKey: "ual", compatibility: { nuxt: "^3.0.0" } }, setup(options) { const __filename = url.fileURLToPath((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('module.cjs', document.baseURI).href))); const __dirname = path.dirname(__filename); kit.addPluginTemplate({ src: path.resolve(__dirname, "./plugin.mjs"), filename: "nuxt3-ual.mjs", mode: "client", options }); } }); module.exports = module$1;