2👍
✅
jsyaml.load
expects a YAML string, not a path or URL. If you’re using webpack, you can use raw-loader to import the file as a string for use in your app.
Source:stackexchange.com