build(#10336): mock assets

This commit is contained in:
Acid Chicken (硫酸鶏)
2023-03-20 22:12:11 +09:00
parent 2ec608fdba
commit 2eecb8e876
6 changed files with 334 additions and 5 deletions

View File

@@ -1,3 +1,4 @@
import { resolve } from 'node:path';
import type { StorybookConfig } from '@storybook/vue3-vite';
import { mergeConfig } from 'vite';
import { getConfig } from '../vite.config';
@@ -23,6 +24,7 @@ const config = {
const x = mergeConfig(config, {
...original,
build,
assetsInclude: [resolve(__dirname, '../node_modules/@tabler/icons-webfont/**/*.{css,eot,ttf,woff,woff2}')],
});
return x;
},