generator-reshow 0.17.40 → 0.17.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,6 +24,7 @@ else
24
24
  if [ -z "$serverEnabled" ]; then
25
25
  conf+='"indexTpl":"'${DIR}/index.tpl'",'
26
26
  conf+='"indexHtml":"'${DIR}/index.html'",'
27
+ conf+='"bustMode":"name",'
27
28
  fi
28
29
  conf+='"swDest":"'${SWJS}'",'
29
30
  # conf+='"swDebug":true,'
@@ -118,13 +119,18 @@ hot() {
118
119
  }
119
120
 
120
121
  nodeTest(){
121
- echo '{"themePath":"hello"}' | node ./server.js
122
+ theme=$1
123
+ if [ -z "$theme" ]; then
124
+ theme="Hello"
125
+ fi
126
+ echo "Theme Path: ${theme}"
127
+ echo '{"themePath":"'${theme}'"}' | node ./server.js
122
128
  echo ""
123
129
  }
124
130
 
125
131
  case "$1" in
126
132
  node)
127
- nodeTest
133
+ nodeTest $2
128
134
  ;;
129
135
  p)
130
136
  production
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.17.40",
2
+ "version": "0.17.41",
3
3
  "name": "generator-reshow",
4
4
  "repository": {
5
5
  "type": "git",