Skip to content

Commit 6688747

Browse files
committed
did not need serve-static dependency
1 parent c8a349c commit 6688747

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

es6-babel-react-flux-karma/gulpFile.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,8 @@ gulp.task('watch', ['delete-dist'], function(done) {
5959
gulp.task('watch-and-serve', ['watch'], function() {
6060
// local as not required for build
6161
var express = require('express')
62-
var serveStatic = require('serve-static')
63-
6462
var app = express()
6563

66-
app.use(serveStatic('dist', {'index': 'index.html'}))
64+
app.use(express.static('dist', {'index': 'index.html'}))
6765
app.listen(8080);
6866
});

es6-babel-react-flux-karma/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
"react": "^0.14.3",
6464
"react-addons-test-utils": "^0.14.3",
6565
"react-dom": "^0.14.3",
66-
"serve-static": "^1.10.0",
6766
"ts-loader": "^0.7.1",
6867
"typescript": "^1.6.2",
6968
"webpack": "^1.12.2",

0 commit comments

Comments
 (0)