counsyl / civet Goto Github PK
View Code? Open in Web Editor NEWA Sass/CoffeeScript asset precompiler for Django
License: Other
A Sass/CoffeeScript asset precompiler for Django
License: Other
Hey @lukhnos!
I've come across what I believe to be a pretty common scenario that trips up Civet.
Bower packages often have two main sets of files, distribution and source.
Source files can sometimes be multi-lingual if a build system is involved. Build scripts can perform variable replacements before a compiler processes a file, which means that if said files were run through a compiler before a build system performed var replacements the compiler would likely encounter syntax errors.
One such case is Font-Awesome. Civet looks for files with .scss
or .sass
file extensions. In https://github.com/FortAwesome/Font-Awesome/blob/master/src/assets/font-awesome/scss/font-awesome.scss#L3 we see non-standard Sass syntax (likely replaced by some build script pre compilation).
Civet will look at this file and try to compile it, but shouldn't.
Is there a way to tell Civet not to look at certain directories such as bower_components
or node_modules
? Imagine for the sake of this scenario that we cannot simply move these directories elsewhere.
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.