Questions tagged [connect-assets]
9 questions
2
votes
1 answer
How to disable connect-assets file name digest
Does anyone know a way to disable the digest/hash of connect-assets/mincer? I know it's bla bla important in their opinion but it's not as useful when developing

Stefan
- 3,962
- 4
- 34
- 39
2
votes
1 answer
how can I get connect-assets to recompile my coffee files when they change?
Related, but hoping for a lower friction answer: How do I use Node and Express with coffeescript and requirejs?
I've got connect-assets set up so that I can have .js and .coffee files side by side in my /assets/js folder. Only problem: I have to…

jcollum
- 43,623
- 55
- 191
- 321
1
vote
1 answer
Using connect-assets with SASS in node.js
I'm using the connect-assets module in a node app and cannot get it to work with sass using the node-sass module. I can get it to work with coffee script great.
In my server.coffee file I have
require "node-sass"
connectAssets = require…

HomeBrew
- 849
- 2
- 12
- 25
1
vote
1 answer
connect-assets uglify settings
I have wasted way too much time on google with this, and am still new to connect-assets.
So I want to use the build feature and have connect-assets concatenate and minify my javascript. However I can't have it mangling my variable names. There is an…

Fresheyeball
- 29,567
- 20
- 102
- 164
0
votes
1 answer
How is the commented out require still working
I was encountering a cofeescript page, when i happened to bump into a require syntax like #= require something
It is not a commented out required syntax, and removing the = breaks the build.
The project seems to be using angular, with coffee script…
user6869133
0
votes
1 answer
Connect assets with handlebars?
The typical way to include the connect assets file is
!= css("main")
That is with .jade though. I am using handlebars and I have no clue how I can add the file?
I am using node-sass as well.

Michael Joseph Aubry
- 12,282
- 16
- 70
- 135
0
votes
1 answer
Why can't my css/js files be found when systemd restarts my node.js app?
I have node.js app that I'm trying to deploy in production mode using systemd to restart it should the server crash/reboot. The app works fine when I start it using 'node app.js' (i.e. all my public files are found). However, when I kill the process…

gh0st
- 41
- 8
0
votes
2 answers
Jade and Connect-Assets Upgrade Issue
I have recently upgraded my package.json for my Jade and Connect-Assets. Jade 0.35 to 1.30 and Connect-Assets 2.3.3 to 3.0.0-beta1. But I am having an issue with the syntax for the following:
meta(name="viewport", content="initial-scale=1.0,…

TheAce
- 122
- 1
- 16
0
votes
1 answer
Using connect-assets with Express to precompile Handlebar templates
I'm using Express, connect-assets on an Ember project. I'm stuck with making connect-assets to properly precompile the handlebar templates.
I've configured express like this:
app.use(assets({
src: app_root + 'app',
buildDir: './public',
…

Akshay Rawat
- 4,714
- 5
- 40
- 65