Importing stylesheet from node module


#1

I’m writing a package that has font-awesome as a dependency. In a .less stylesheet for my package, I’m trying to import a stylesheet from the font-awesome dep. Something like this:

@import ‘./node_modules/font-awesome/css/font-awesome.css’;

I’ve tried all sorts of path prefixes to try and find the file, but no luck. Keeps "404"ing. Any ideas?