Add export es module

This commit is contained in:
ethan 2024-03-15 17:42:36 +08:00
parent fe0b7ec523
commit 9563bc1e1d

View File

@ -23,7 +23,6 @@ export default defineConfig(({ mode }) => {
entry: path.resolve(__dirname, 'src/index.ts'), entry: path.resolve(__dirname, 'src/index.ts'),
name: 'CesiumPlot', name: 'CesiumPlot',
fileName: 'CesiumPlot', fileName: 'CesiumPlot',
formats: ['umd'],
}, },
rollupOptions: { rollupOptions: {
external: ['cesium'], external: ['cesium'],