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.
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
base: '',
|
|
build: {
|
|
target: 'esnext',
|
|
modulePreload: false,
|
|
rollupOptions: {
|
|
external: ['d3'],
|
|
output: {
|
|
paths: {
|
|
d3: 'https://cdn.jsdelivr.net/npm/d3@7/+esm',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
});
|