I want to use flat-ui with webpack when installed with npm. I have created a test project. The last commit is before installing flat-ui. When I do install and use
require('flat-ui');
I get the error:
Module not found: Error: Cannot resolve module 'flat-ui'
In my research I found this gist but am not familiar enough with webpack to understand it well enough.
My goal is to use npm to install dependencies rather than clutter up my project.