基于高德地图JS api开发的geojson编辑器. http://geojson.finevis.cc/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 lines
580 B

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import path from "path";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
"@store": path.resolve(__dirname, "src/store"),
"@editor": path.resolve(__dirname, "src/editor"),
"@map": path.resolve(__dirname, "src/map"),
"@app": path.resolve(__dirname, "src/app"),
"@types": path.resolve(__dirname, "src/types"),
"@utils": path.resolve(__dirname, "src/utils"),
},
},
server: {
port: 8080,
},
});