Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Commit

Permalink
* Added missing utils import in serve
Browse files Browse the repository at this point in the history
* Updated changelog for 0.4.1
  • Loading branch information
dsebastien committed Feb 19, 2016
1 parent 09e9167 commit 528d879
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
* 0.4.1
* added the "browserSync" option, which lets you customize all BrowserSync settings (thanks @aaronroberson)
* 0.4.0
* fixed an issue with production styles bundle (fixes #96)
* upgraded babel dependencies
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,7 @@ Available options:
* you can disable it by setting this option to false
* browserSync
* Pass in browserSync options. See http://www.browsersync.io/docs/options/
* this should be defined like this: "browserSync": { // BrowserSync options }

## FAQ

Expand Down
3 changes: 3 additions & 0 deletions UPGRADE.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Upgrade guide

## From 0.4.0 to 0.4.1
No modification mandatory with this release.

## From 0.3.2 to 0.4.0
The way we construct the dist vendor css bundle has changed.
In your vendor.scss file, if you import third party stylesheets from jspm_packages or from node_modules, then you'll need to change the relative path.
Expand Down
2 changes: 1 addition & 1 deletion src/gulp/tasks/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import AbstractTaskLoader from "../abstractTaskLoader";
import config from "../config";
//import utils from "../utils";
import utils from "../utils";

let browserSync = require("browser-sync").create(config.webServerNames.dev);

Expand Down
4 changes: 2 additions & 2 deletions src/gulp/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,13 @@ let mergeOptions = (obj1 = {}, obj2 = {}) =>{
let obj3 = {};

for(let attrname in obj1){
if(obj1.hasOwnProperty(attrname)) {
if(obj1.hasOwnProperty(attrname)){
obj3[attrname] = obj1[attrname];
}
}

for(let attrname in obj2){
if(obj2.hasOwnProperty(attrname)) {
if(obj2.hasOwnProperty(attrname)){
obj3[attrname] = obj2[attrname];
}
}
Expand Down

0 comments on commit 528d879

Please sign in to comment.