build(#10336): staticified directory structure

This commit is contained in:
Acid Chicken (硫酸鶏) 2023-04-01 18:22:15 +09:00
parent ec8905f81c
commit 88981e9d5b
No known key found for this signature in database
GPG Key ID: 3E87B98A3F6BAB99

View File

@ -27,9 +27,13 @@ const config = {
viteStaticCopy({ viteStaticCopy({
targets: [ targets: [
{ {
src: resolve(__dirname, '../node_modules/@tabler/icons-webfont/**/*.{css,eot,ttf,woff,woff2}'), src: resolve(__dirname, '../node_modules/@tabler/icons-webfont/*.css'),
dest: 'node_modules/@tabler/icons-webfont', dest: 'node_modules/@tabler/icons-webfont',
}, },
{
src: resolve(__dirname, '../node_modules/@tabler/icons-webfont/fonts/*.{eot,ttf,woff,woff2}'),
dest: 'node_modules/@tabler/icons-webfont/fonts',
},
], ],
}), }),
], ],