2
0

vite.config.js 380 B

123456789101112131415161718
  1. /**
  2. * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
  3. * SPDX-License-Identifier: MIT
  4. */
  5. import { defineConfig } from 'vite';
  6. import react from '@vitejs/plugin-react';
  7. import { analyzer } from 'vite-bundle-analyzer';
  8. // https://vite.dev/config/
  9. export default defineConfig({
  10. plugins: [react(), analyzer()],
  11. server: {
  12. fs: {
  13. strict: false,
  14. },
  15. },
  16. });