@tabula/forge
Advanced tools
Changelog
0.2.0
#4 8dddd8d
Thanks @demiazz! - adds support of packages resolve in the Sass
The forge
resolves external packages through ~<pkg>
urls.
Example:
@use '~@tabula/ui-theme' as theme;
.root {
background-color: theme.$color--primary;
}
It will search <pkg>
in dependencies through Node.js require
, and try to read sass
field in the package.json
of the founded package.
Example:
{
"name": "@tabula/ui-theme",
"sass": "./sass/index.scss"
}
will be resolved to the <node_modules>/@tabula/ui-theme/sass/index.scss
.