rlidwka / asset-pipeline Goto Github PK
View Code? Open in Web Editor NEWAssets preprocessor/compiler for Express 3.
Assets preprocessor/compiler for Express 3.
no need to have all connect's dependencies here
like /public/styles.css -> /styl-13509815.css
check serving some/nested/file.js, might be a problem
it should be able to recover if I drop any file from a cache or an entire cache itself
not implemented
TODO
... using clean-css and uglifyjs respectively
this module should register itself as a template renderer
This is useful package thanks for work! And I have a feature request.
Ruby on rails has the require_tree
directive in assets pipeline which allows include all scripts in selected dir, without need to specify each separately.
So, your includes in tests
%script(src="<%- asset_uri('/js/jquery-1.7.1.min.js') %>")
%script(src="<%- asset_uri('/js/qunit-git.js') %>")
%script(src="<%- asset_uri('/js/async.min.js') %>")
%script(src="<%- asset_uri('/tests/run-all.js') %>")
will may become like this
<% asset_require_tree('/js/*.js').forEach(assetUri) { %>
%script(src="<%- assetUri %>")
<% }); %>
%script(src="<%- asset_uri('/tests/run-all.js') %>")
consider using pipeline
because it going to be used with views too
I would like to use --bare
to compile my coffeescript.
Is it possible?
might be nice to implement: https://github.com/sstephenson/sprockets
a depends on b that depends on a
todo: check it
doesn't work because there are no include paths in jade
maybe we should write it like this:
./assets/ - base path
./assets/.build/ - temporary
./assets/.static/ - files to serve
./assets/images/
./assets/css/
./assets/js/
./assets/views/
first lookup in this folders and then in ./assets/
= fail - we should probably add some checks there
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.