taskrjs / fly-sass Goto Github PK
View Code? Open in Web Editor NEWCompile SASS with Fly
License: MIT License
Compile SASS with Fly
License: MIT License
fly-sass would be better, but I am sure you already noticed the name is taken. The user squatting on the name have reached me and we are discussing what to do.
I really hope we can migrate this repo to the better name later. Thanks
Via your travis dashboard.
fly-sass
is transform scss
into css
file include helper file ( e.g. _helper.scss )
helper
file to transform in plguin.helper
file after transform.includePath
loses its context, so importing from that attempts to import from the Flyfile's root
directorystyles/
|-- app.sass
|-- imports/
|-- _first.sass
|-- config/
|-- _second.sass
|-- _third.sass
// app.sass
@import first
// _first.sass
@import config/second
// _second.sass
@import third
// flyfile
yield this
.source('styles/app.sass')
.sass({
outputStyle: 'compressed',
includePaths: ['styles/imports'],
indentedSyntax: true
})
// ...
This will be its error:
File to import not found or unreadable: third
Parent style sheet: ~/code/_second.sass # <--- also, wrong path
That error path should be: ~/code/styles/_second.sass
Running ./node_modules/.bin/node-sass styles/app.sass
works perfectly.
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.