Skip to content

Commit ee0ed24

Browse files
author
Joe Alves
committed
Changes to static middleware for uiBootstrap; server tests now es6-enabled
1 parent 6ae108c commit ee0ed24

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

generated/gulpfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ gulp.task('buildJS', ['lintJS'], function () {
5050
});
5151

5252
gulp.task('testServerJS', function () {
53+
require('babel/register');
5354
return gulp.src('./tests/server/**/*.js', {
5455
read: false
5556
}).pipe(mocha({ reporter: 'spec' }));

generated/server/app/configure/static-middleware.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@ module.exports = function (app) {
77

88
var root = app.getValue('projectRoot');
99

10-
var uiBootstrapPath = path.join(root, './node_modules/angular-bootstrap');
1110
var npmPath = path.join(root, './node_modules');
1211
var publicPath = path.join(root, './public');
1312
var browserPath = path.join(root, './browser');
1413

1514
app.use(favicon(app.getValue('faviconPath')));
16-
app.use(express.static(uiBootstrapPath));
1715
app.use(express.static(npmPath));
1816
app.use(express.static(publicPath));
1917
app.use(express.static(browserPath));
2018

21-
};
19+
};

0 commit comments

Comments
 (0)