refactor: refactor locales, separate locales within apps,fixed #12
This commit is contained in:
15
packages/@core/locales/build.config.ts
Normal file
15
packages/@core/locales/build.config.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { defineBuildConfig } from 'unbuild';
|
||||
|
||||
export default defineBuildConfig({
|
||||
clean: true,
|
||||
declaration: true,
|
||||
entries: [
|
||||
'src/index',
|
||||
{
|
||||
builder: 'mkdist',
|
||||
input: './src/langs',
|
||||
// loaders: ['postcss'],
|
||||
outDir: './dist/langs',
|
||||
},
|
||||
],
|
||||
});
|
Reference in New Issue
Block a user