duojs / sass Goto Github PK
View Code? Open in Web Editor NEWSass plugin for Duo
License: MIT License
Sass plugin for Duo
License: MIT License
Experimenting as follows. base.scss
contains a single line:
@import 'FortAwesome/[email protected]:scss/font-awesome.scss';
duo --use duosass assets/scss/base.scss > test.css
Yields an empty file.
@import 'FortAwesome/[email protected]:css/font-awesome.css';
duo --use duosass assets/scss/base.scss > test.css
Yields a file with Font Awesome's contents.
Somewhat unrelated:
I'm fairly game to help debug these things, but prior to source diving it seems like there should be some debug output. One thing that doesn't provide much feedback is duo's verbose mode. It's obviously encountering an import it's either ignoring or simply unable to download. I'd like to coax some information about what duo's "thinking" (usually that's what verbose flags tend to do!) and I'm not seeing it.
Hey @matthewmueller, I got on to push but looks like I'm not on the repo yet. Let me know thanks.
My file has it's first import
@import "./_settings.scss";
// ...
Throws string error using ./node_modules/.bin/duo --use duosass css/skin.scss css/build/skin.css
using : duosass
building : css/skin.scss
building : css/build/skin.css
error : Error: source string:4: error: file to import not found or unreadable: "./_settings.scss"
at error (/Users/stephen/code/foundation-dnn/node_modules/duo/bin/_duo:358:38)
at /Users/stephen/code/foundation-dnn/node_modules/duo/bin/_duo:264:21
at Duo.callback (/Users/stephen/code/foundation-dnn/node_modules/duo/node_modules/batch/index.js:125:46)
at Object._onImmediate (/Users/stephen/code/foundation-dnn/node_modules/duo/node_modules/co/index.js:52:14)
at processImmediate [as _immediateCallback] (timers.js:345:15)
make: *** [skin.scss] Error 1
@matthewmueller, can you enable?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.