22 lines
384 B
TypeScript
22 lines
384 B
TypeScript
import { defineBuildConfig } from 'unbuild';
|
|
|
|
export default defineBuildConfig({
|
|
clean: true,
|
|
declaration: true,
|
|
entries: [
|
|
{
|
|
builder: 'mkdist',
|
|
input: './src',
|
|
loaders: ['vue'],
|
|
pattern: ['**/*.vue'],
|
|
},
|
|
{
|
|
builder: 'mkdist',
|
|
format: 'esm',
|
|
input: './src',
|
|
loaders: ['js'],
|
|
pattern: ['**/*.ts'],
|
|
},
|
|
],
|
|
});
|