Comments (2)
The potential issue with this feature is that it means barista needs some way to know the order of concatenation for files within a framework or the user needs to declare it in some manner - Given that is the case, my typical stance is that barista should be ignorant of these things (e.g. it should be usable in combination with other tools such as Jammit which do it well) versus implementing some form of asset packaging itself.
I'd potentially be happy to accept patches for it (given solid reasoning, as I can see it being useful) but I personally feel it's something better left up to either plugins for Barista (using hooks) or barista + {jammit,sprockets,some-other-package-manasger}.
from barista.
Yeah, you are absolutely right. I didn't know of Jammit, so I've been investigating it and I've successfully set up what I wanted to do, and I even got automatic compression and embedded images and fonts!
So thank you very much.
Jammit is indeed the way to go, it suits more needs than the Framework.register hack ever would.
from barista.
Related Issues (20)
- RSpec NameError: uninitialized constant CoffeeScript::Engines HOT 2
- Copy .js files "as is" to the public/javascript dir HOT 6
- forcing coffee-script 2.1.x? HOT 2
- Forcing Sinatra middleware HOT 2
- Manual .coffee files compiling
- Option to disable comment being added to compiled output HOT 2
- Barista + Sinatra HOT 2
- allow subdirs in input root HOT 4
- Interpolation with CoffeeScript HAML filter HOT 6
- Random Node not found messages HOT 1
- application error NoMethodError at / undefined method `present?' for CoffeeScript::Engines::Node:Module HOT 1
- coffee-script not found error on new server HOT 1
- Require coffee-script >= or ~> 2.2 HOT 1
- therubyracer not being picked up in version 1.1 HOT 1
- Changed configuration but old settings remain HOT 2
- add minification step HOT 2
- Compiled .js remains if its relative .coffee is deleted. HOT 1
- rake assets:precompile not working HOT 3
- Filter "coffeescript" is not defined. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from barista.