Menu icon Foundation
@import path resolution

I was looking over the foundation app.scss file included in the starter template and I noticed that scss files in the /bower_components/foundation-sites/ directory don't actually need paths in order to be imported.

 

So this works:

@import 'foundation';

Without the need to do this:

@import ../bower_components/foundation-sites/scss/foundation';

 

I'm trying to understand what mechanism allows the import to succeed without providing the entire path. Any advice would be appreciated.

 

scssimportfoundation-zurb-template

I was looking over the foundation app.scss file included in the starter template and I noticed that scss files in the /bower_components/foundation-sites/ directory don't actually need paths in order to be imported.

 

So this works:

@import 'foundation';

Without the need to do this:

@import ../bower_components/foundation-sites/scss/foundation';

 

I'm trying to understand what mechanism allows the import to succeed without providing the entire path. Any advice would be appreciated.