To make the list of custom capitalised words easier to manage they should be refactored into a separate file, ./src/speciallyCapitalisedWords.json.
This file can then be imported into defaults.js with the line:
import speciallyCapitalisedWords from './speciallyCapitalisedWords.json' with { type: 'json' };
To make the list of custom capitalised words easier to manage they should be refactored into a separate file,
./src/speciallyCapitalisedWords.json.This file can then be imported into
defaults.jswith the line: