// vite.config.js
import { defineConfig } from "file:///D:/%E9%A1%B9%E7%9B%AE%E6%96%87%E4%BB%B6/52.%E6%99%BA%E6%9F%94PDC%E7%BA%BF/%E5%89%8D%E7%AB%AF/MES_ApiFailRetry/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/%E9%A1%B9%E7%9B%AE%E6%96%87%E4%BB%B6/52.%E6%99%BA%E6%9F%94PDC%E7%BA%BF/%E5%89%8D%E7%AB%AF/MES_ApiFailRetry/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import { fileURLToPath, URL } from "node:url";
import copy from "file:///D:/%E9%A1%B9%E7%9B%AE%E6%96%87%E4%BB%B6/52.%E6%99%BA%E6%9F%94PDC%E7%BA%BF/%E5%89%8D%E7%AB%AF/MES_ApiFailRetry/node_modules/rollup-plugin-copy/dist/index.commonjs.js";
var __vite_injected_original_import_meta_url = "file:///D:/%E9%A1%B9%E7%9B%AE%E6%96%87%E4%BB%B6/52.%E6%99%BA%E6%9F%94PDC%E7%BA%BF/%E5%89%8D%E7%AB%AF/MES_ApiFailRetry/vite.config.js";
var vite_config_default = defineConfig({
  base: "./",
  plugins: [
    vue()
  ],
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  },
  pluginOptions: {
    "style-resources-loader": {
      preProcessor: "scss",
      patterns: []
    }
  },
  define: {
    "process.env": {}
  },
  // 完全禁用默认的 public 目录处理
  publicDir: false,
  build: {
    // 清空输出目录时保留自定义拷贝的文件
    emptyOutDir: true,
    rollupOptions: {
      plugins: [
        copy({
          targets: [
            {
              src: "public/**/*",
              // 复制整个 public 目录
              dest: "dist/public"
              // 输出到 dist/public
            }
          ],
          hook: "writeBundle",
          // 在构建完成后执行
          copyOnce: true
          // 仅拷贝一次
        })
      ]
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291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WUoKVxuICAgIF0sXG4gICAgcmVzb2x2ZToge1xuICAgICAgICBhbGlhczoge1xuICAgICAgICAgICAgXCJAXCI6IGZpbGVVUkxUb1BhdGgobmV3IFVSTChcIi4vc3JjXCIsIGltcG9ydC5tZXRhLnVybCkpLFxuICAgICAgICB9LFxuICAgIH0sXG4gICAgcGx1Z2luT3B0aW9uczoge1xuICAgICAgICAnc3R5bGUtcmVzb3VyY2VzLWxvYWRlcic6IHtcbiAgICAgICAgICAgIHByZVByb2Nlc3NvcjogJ3Njc3MnLFxuICAgICAgICAgICAgcGF0dGVybnM6IFtdXG4gICAgICAgIH1cbiAgICB9LFxuICAgIGRlZmluZToge1xuICAgICAgICAncHJvY2Vzcy5lbnYnOiB7fVxuICAgIH0sXG4gICAgLy8gXHU1QjhDXHU1MTY4XHU3OTgxXHU3NTI4XHU5RUQ4XHU4QkE0XHU3Njg0IHB1YmxpYyBcdTc2RUVcdTVGNTVcdTU5MDRcdTc0MDZcbiAgICBwdWJsaWNEaXI6IGZhbHNlLFxuICAgIGJ1aWxkOiB7XG4gICAgICAgIC8vIFx1NkUwNVx1N0E3QVx1OEY5M1x1NTFGQVx1NzZFRVx1NUY1NVx1NjVGNlx1NEZERFx1NzU1OVx1ODFFQVx1NUI5QVx1NEU0OVx1NjJGN1x1OEQxRFx1NzY4NFx1NjU4N1x1NEVGNlxuICAgICAgICBlbXB0eU91dERpcjogdHJ1ZSxcblxuICAgICAgICByb2xsdXBPcHRpb25zOiB7XG4gICAgICAgICAgICBwbHVnaW5zOiBbXG4gICAgICAgICAgICAgICAgY29weSh7XG4gICAgICAgICAgICAgICAgICAgIHRhcmdldHM6IFtcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzcmM6ICdwdWJsaWMvKiovKicsICAvLyBcdTU5MERcdTUyMzZcdTY1NzRcdTRFMkEgcHVibGljIFx1NzZFRVx1NUY1NVxuICAgICAgICAgICAgICAgICAgICAgICAgICA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