vite.config.js 343 B

123456789101112131415
  1. import { defineConfig } from 'vite'
  2. import vue from '@vitejs/plugin-vue'
  3. import cesium from 'vite-plugin-cesium'
  4. // https://vitejs.dev/config/
  5. export default defineConfig({
  6. resolve: {
  7. fallback: { https: false, zlib: false, http: false, url: false },
  8. mainFiles: ["index", "Cesium"],
  9. },
  10. plugins: [
  11. vue(),
  12. cesium()
  13. ],
  14. })