(refactor) do generateDTS in build-assets (#11812)
This commit is contained in:
@@ -6,7 +6,6 @@ import { type UserConfig, defineConfig } from 'vite';
|
||||
import ReactivityTransform from '@vue-macros/reactivity-transform/vite';
|
||||
|
||||
import locales from '../../locales';
|
||||
import generateDTS from '../../locales/generateDTS';
|
||||
import meta from '../../package.json';
|
||||
import pluginUnwindCssModuleClassName from './lib/rollup-plugin-unwind-css-module-class-name';
|
||||
import pluginJson5 from './vite.json5';
|
||||
@@ -67,10 +66,6 @@ export function getConfig(): UserConfig {
|
||||
}),
|
||||
]
|
||||
: [],
|
||||
{
|
||||
name: 'locale:generateDTS',
|
||||
buildStart: generateDTS,
|
||||
},
|
||||
],
|
||||
|
||||
resolve: {
|
||||
|
Reference in New Issue
Block a user