fix: fixed svg icon load failure and enabled global injection bem.scss

This commit is contained in:
vince
2024-07-17 22:30:18 +08:00
parent 8b6d3a72e8
commit cb161eab89
48 changed files with 1626 additions and 1576 deletions

View File

@@ -0,0 +1,23 @@
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'],
});