These are chat archives for jescalan/roots
extensions: [ js_pipeline files: ['node_modules/jquery/dist/jquery.js', 'assets/js/vendor/jquery.waypoints.js', 'assets/js/vendor/jquery.touchwipe.1.1.1.js', 'assets/js/scripts/**'] out: 'js/build.js' # minify: true css_pipeline files: "assets/css/**" # minify: true ]
node_moduleswill be ignored because it’s in
ignores. Otherwise, the entire contents of
node_moduleswill appear in
public. You could get round it by using the
roots-browserifyplugin and requiring jQuery
ignores: ['readme.md', '**/layout.*', '**/_*/*','.gitignore', 'ship.*conf’]
ln -s ../../node_modules/jquery assets/js/jquery, then change your path in
node_modules, but you’d point
assets. So if you had no
assets/js/jquerywill not really exist.
roots-image-pipelineplugin before I can fully switch. I don’t look forward to doing that
roots-image-pipelinedoes need a rewrite anyway. It really breaks if you have a ton of images. That seems to be an upstream issue with
gm. Whether I port it to spike or not, I am planning on replacing
sharp, so I’m definitely behind that.
compressare both false, you just get an
imgtag pointing to the original image. So it’s all off in
app.coffeeand then enabled in
app.production.coffee. Does spike support environments?
app.jsas a base into other environments
\Library::ad()and it pulled in a HTML template from the ad server, and cached it for an hour to keep it snappy. Then the HTML was rendered directly onto the page. Made for some really nice responsive ads, but I’d hate to try and launch that as a business so I never went any further with it