'use strict';

const kit = require('@nuxt/kit');
const index = require('./index.cjs');
require('node:process');
require('sirv');
require('picocolors');
require('node:path');
require('node:url');
require('node:buffer');
require('@rollup/pluginutils');
require('debug');
require('error-stack-parser-es');
require('fs-extra');
require('node:http');

const nuxt = kit.defineNuxtModule({
  meta: {
    name: "vite-plugin-inspect",
    configKey: "inspect"
  },
  setup(options) {
    kit.addVitePlugin(() => index(options));
  }
});

module.exports = nuxt;
