Skip to content

Commit

Permalink
[BUILD] Fix task order in gulpfile, improve webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkoryukov committed Mar 11, 2017
1 parent fdd4822 commit 89a14b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,11 @@ gulp.task("build:browser:test", function taskBuildBrowserTest() { // eslint-dis
// SUPERTASKS

gulp.task("doc", ["watch:doc"])
gulp.task("build", ["build:node", "build:browser", "build:browser:test"])
gulp.task("build", (done) => {
gulpSequence(["build:node", "build:browser"], "build:browser:test", done)
return undefined
})

gulp.task("default", (done) => {
gulpSequence("lint", "build", "test", done)
return undefined
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion webpack/test.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const config = _.merge({
sinon: "sinon"
},
entry: {
"test": "./test/index.js",
"test": "./test/webpack-index.js",
},
output: {
path: path.join(testDir, "browser"),
Expand Down

0 comments on commit 89a14b8

Please sign in to comment.