Skip to content

Commit

Permalink
fix(grunt): update config for new version
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Now it will no longer bust favicons and other assets outside the `<%= amsf.user.assets %>`.
  • Loading branch information
sparanoid committed Feb 2, 2016
1 parent da68ef9 commit 3dd888c
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -267,25 +267,18 @@ module.exports = (grunt) ->

cacheBust:
options:
encoding: "utf8"
filters: {
"link[rel*=icon]": ->
@attribs.href
}
ignorePatterns: [
"no-cache-bust"
]
algorithm: "md5"
length: 8
assets: ["<%= amsf.user.assets %>/**/*"]
baseDir: "<%= config.dist %>"
deleteOriginals: true
encoding: "utf8"
length: 8

dist:
files: [
expand: true
baseDir: "<%= config.dist %>"
cwd: "<%= config.dist %>"
src: "**/*.html"
dest: "<%= config.dist %>"
]

usebanner:
Expand Down

0 comments on commit 3dd888c

Please sign in to comment.