Skip to content

Commit b28ada2

Browse files
committed
Add labels and intro folders to build output - Copy labels folder for JSON data files - Copy intro folder for markdown content files - Fixes 'Failed to fetch /labels/alphabet.json' error
1 parent 7b503d5 commit b28ada2

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

config-overrides.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,22 @@ module.exports = {
5353
ignore: ['**/node_modules/**', '**/.git/**']
5454
}
5555
},
56+
{
57+
from: path.resolve(__dirname, 'labels'),
58+
to: 'labels',
59+
noErrorOnMissing: true,
60+
globOptions: {
61+
ignore: ['**/node_modules/**', '**/.git/**']
62+
}
63+
},
64+
{
65+
from: path.resolve(__dirname, 'intro'),
66+
to: 'intro',
67+
noErrorOnMissing: true,
68+
globOptions: {
69+
ignore: ['**/node_modules/**', '**/.git/**']
70+
}
71+
},
5672
{
5773
from: path.resolve(__dirname, 'CNAME'),
5874
to: 'CNAME',

0 commit comments

Comments
 (0)