Skip to content

Commit

Permalink
chore(grunt): minor tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Jan 13, 2017
1 parent 70568ac commit 654d652
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module.exports = (grunt) ->
app: "<%= config.cfg.source %>"
dist: "<%= config.cfg.destination %>"
base: "<%= config.cfg.base %>"
assets: "<%= config.cfg.assets %>"
banner: "<!-- <%= config.pkg.name %> v<%= config.pkg.version %> | © <%= config.pkg.author %> | <%= config.pkg.license %> -->\n"

# TODO: Wrap it into a separate Grunt plugin?
Expand Down Expand Up @@ -56,7 +57,7 @@ module.exports = (grunt) ->
branch: grunt.option("branch") or "release"
core: "<%= amsf.base %>/core"
user:
assets: "<%= config.app %>/assets"
assets: "<%= config.app %><%= config.assets %>"
theme:
branch: "master"
assets: "<%= amsf.user.assets %>/themes/<%= amsf.theme.current %>"
Expand Down Expand Up @@ -262,7 +263,7 @@ module.exports = (grunt) ->
inlineImg: false
inlineSvg: true
inlineSvgBase64: false
assetsUrlPrefix: "<%= config.base %>/assets/"
assetsUrlPrefix: "<%= config.base %><%= config.assets %>"
deleteOriginals: true

dist:
Expand Down

0 comments on commit 654d652

Please sign in to comment.