mirror of
https://gitee.com/newgateway/vtj.git
synced 2026-05-08 04:07:27 +08:00
15 lines
327 B
TypeScript
15 lines
327 B
TypeScript
import { createViteConfig } from '@vtj/cli';
|
|
import { material } from './vtj.config';
|
|
|
|
export default createViteConfig({
|
|
lib: true,
|
|
dts: false,
|
|
emptyOutDir: false,
|
|
library: material,
|
|
buildTarget: 'es2015',
|
|
libFileName: 'material',
|
|
entry: 'src/material/index.ts',
|
|
formats: ['umd'],
|
|
external: ['@vtj/core']
|
|
});
|