I'm trying to import a yaml file in React Native. I can see in the Metro defaults.js
file that yaml is listed as an asset extension already.
The imported value is always the number 1
though and not the actual contents of the yaml
file.
import enYaml from '../i18n/locale/en.yaml';