Skip to content
Permalink
Browse files

fix(option): custom spa.html file when no spa.src.dir is supplied

  • Loading branch information
jyounce committed Jul 13, 2015
1 parent 35db73b commit 54eae8064ee2d3cc169e8940670352b995395359
Showing with 2 additions and 1 deletion.
  1. +2 −1 config/config-spa.coffee
@@ -25,9 +25,10 @@ module.exports = (config, options) ->
distFile = options.spa.dist.file or srcFile
srcDir = getSrcDir custom, options.spa.src.dir
if custom
distDir = options.spa.src.dir or ''
customDistDir = path.join(
config.dist.app.client.dir
options.spa.src.dir
distDir
)
customDistPath = path.join customDistDir, srcFile

0 comments on commit 54eae80

Please sign in to comment.
You can’t perform that action at this time.