fix: fixed svg icon load failure and enabled global injection bem.scss
This commit is contained in:
@@ -3,6 +3,14 @@ import { defineBuildConfig } from 'unbuild';
|
||||
export default defineBuildConfig({
|
||||
clean: true,
|
||||
declaration: true,
|
||||
entries: ['src/index'],
|
||||
entries: [
|
||||
{
|
||||
builder: 'mkdist',
|
||||
format: 'esm',
|
||||
input: './src',
|
||||
loaders: ['js'],
|
||||
pattern: ['**/*.ts', '**/*.svg'],
|
||||
},
|
||||
],
|
||||
externals: ['vue'],
|
||||
});
|
||||
|
Reference in New Issue
Block a user