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