Fix emoji assets missing from storybook

This commit is contained in:
Jamie Kyle 2023-11-15 12:25:21 -08:00 committed by GitHub
parent 93ab0e39df
commit 5aa80876f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,10 @@ const config: StorybookConfig = {
{ from: '../fonts', to: 'fonts' },
{ from: '../images', to: 'images' },
{ from: '../fixtures', to: 'fixtures' },
{
from: '../node_modules/emoji-datasource-apple/img',
to: 'node_modules/emoji-datasource-apple/img',
},
],
webpackFinal(config) {
config.cache = {