Skip to content

Commit ac092fa

Browse files
fix(package): always make html2js a dependency
When you generate with the Jade option, the Karma.conf file still keeps the config for ng-html2js for any html files that may be present. This fix makes it so we always add the ng-html2js dependency to package.json to fix that. Closes angular-fullstack#1722
1 parent 2997e34 commit ac092fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: app/templates/_package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@
152152
"karma-requirejs": "~0.2.2",
153153
"karma-jade-preprocessor": "0.0.11",
154154
"karma-phantomjs-launcher": "~1.0.0",<% if (filters.jade) { %>
155-
"karma-ng-jade2js-preprocessor": "^0.2.0",<% } else { %>
156-
"karma-ng-html2js-preprocessor": "~0.2.0",<% } %>
155+
"karma-ng-jade2js-preprocessor": "^0.2.0",<% } %>
156+
"karma-ng-html2js-preprocessor": "~0.2.0",
157157
"karma-spec-reporter": "~0.0.20",
158158
"sinon-chai": "^2.8.0",
159159
"mocha": "^2.2.5",<% if (filters.mocha) { %>

0 commit comments

Comments
 (0)