Currently, I am working on an app based on the starter project found here: https://github.com/shprink/angular1.4-ES6-material-webpack-boilerplate.
My current challenge lies in integrating a 3rd party library into my project. Specifically, I am looking to incorporate js-yaml from https://github.com/nodeca/js-yaml
To achieve this, I attempted to add it into my angular service as follows:
import jsyaml from '../../node_modules/js-yaml/bin/js-yaml.js';
However, upon doing so, I encountered the following error:
bundle-0d6476.js:75756 Uncaught Error: Cannot find module "../../node_modules/js-yaml/bin/js-yaml.js"
Has anyone faced a similar issue before and if so, how did you manage to resolve it?