From 96cfe9384672384cc31307dbbe4c29f4cd0a6026 Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Mon, 3 Feb 2014 09:55:30 -0500 Subject: [PATCH] Added Sprockets-style concatenation link to learn more info --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e376035330..9babbbaa82 100644 --- a/README.md +++ b/README.md @@ -294,8 +294,8 @@ Using connect-assets library it's as as simple as: ``` The only thing you need to know is to define your JavaScript files inside `public/js/application.js` using this -strange syntax convention borrowed from Rails. I know it's an extra thing to learn for someone who has never seen -Rails asset pipeline, but in this case benefits outweigh the costs. +strange syntax convention (Sprockets-style) borrowed from Rails. I know it's an extra thing to learn +for someone who has never seen Rails asset pipeline, but in this case benefits outweigh the costs. ```js //= require lib/jquery-2.1.0.min @@ -304,7 +304,8 @@ Rails asset pipeline, but in this case benefits outweigh the costs. ``` Using this approach, when in `development` mode, **connect-assets** will load each file individually, without minifying or concatenating. When you deploy your app, it will run in `production` mode, and so -**connect-assets** will automatically serve a single concatenated + minified `application.js`. +**connect-assets** will automatically serve a single concatenated + minified `application.js`. For more +information see [Sprockets-style concatenation](https://github.com/adunkman/connect-assets/#sprockets-style-concatenation) ### I am getting MongoDB Connection Error, how do I fix it?