This repository was archived by the owner on Jun 20, 2023. It is now read-only.
File tree 2 files changed +10
-2
lines changed
adhocracy_frontend/static/stylesheets/scss/general
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -62,5 +62,5 @@ $rem-px-only: false !default;
62
62
}
63
63
64
64
@function font-url ($path ) {
65
- @return url (" ../fonts/" + $path );
65
+ @return url (" ../fonts/" + $path + " ? " + cachebust () );
66
66
}
Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ inline =
164
164
" grunt-htmlhint" : " 0.9.12-fix" ,
165
165
" mailparser" : " 0.5.3" ,
166
166
" ini" : " 1.3.4" ,
167
+ " node-sass" : " 3.8.0" ,
167
168
" grunt-sass" : " 1.1.0" ,
168
169
" grunt-sass-lint" : " 0.2.0"
169
170
}
@@ -313,6 +314,8 @@ update-command = ${javascript:command}
313
314
[gruntfile]
314
315
recipe = collective.recipe.template
315
316
inline =
317
+ var sass = require(" node-sass" );
318
+
316
319
module.exports = function(grunt) {
317
320
grunt.initConfig({
318
321
ngtemplates: {
@@ -388,7 +391,12 @@ inline =
388
391
sass: {
389
392
options: {
390
393
sourceMap: true,
391
- outputStyle: " compressed"
394
+ outputStyle: " compressed" ,
395
+ functions: {
396
+ " cachebust" : function() {
397
+ return new sass.types.String(" " + Date.now());
398
+ }
399
+ }
392
400
},
393
401
dist: {
394
402
files: {
You can’t perform that action at this time.
0 commit comments