Node-sass Importer Alias
A node-sass importer which supports simple path aliasing.
Find it on NPM: https://www.npmjs.com/package/node-sass-importer-alias
Install
The package can be installed from NPM by running either of the below:
npm install --save-dev node-sass-importer-alias
OR
yarn add node-sass-importer-alias
Usage
var sass = ;var importAlias = ; sass;
By defining "RESOURCES" as above, it will enable you to import files relative to the alias, meaning the below:
@import 'RESOURCES/variables.scss';
Will resolve to:
@import './src/resources/variables.scss';
License
This project is licensed under the MIT License - see the LICENSE.md file for details