Skip to content

Commit

Permalink
Merge branch 'release/4.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Solazzi committed Nov 7, 2016
2 parents 342d0c3 + 3b4589c commit 9c781ec
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wok",
"version": "4.0.0",
"version": "4.0.1",
"authors": [
"Marco Solazzi <[email protected]>",
"Matteo Guidotto <[email protected]>",
Expand Down
5 changes: 3 additions & 2 deletions build/gulp-tasks/modernizr.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,12 @@ module.exports = function (gulp, $, options) {
gulp.task('modernizr', ['modernizr:html5shiv'], (done) => {
const fs = require('fs');
const filePath = options.assetsPath('dist.vendors', '/modernizr');
var modernizr; //eslint-disable-line no-var

require('mkdirp').sync(filePath);

if (options.production) {
const modernizr = require('customizr');
modernizr = require('customizr');
modernizr(distConfig, (obj) => {
const tests = obj.options['feature-detects'];
const colors = $.util.colors;
Expand All @@ -83,7 +84,7 @@ module.exports = function (gulp, $, options) {
});
} else {
//full build
const modernizr = require('modernizr');
modernizr = require('modernizr');
const fullConfig = require('../gulp-config/modernizr.conf.json');
modernizr.build(fullConfig, (result) => {
fs.writeFile(filePath + '/modernizr.js', result, done);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "wok",
"description": "A Static Website Boilerplate",
"version": "4.0.0",
"version": "4.0.1",
"license": "MIT",
"repository": {
"type": "git",
Expand Down

0 comments on commit 9c781ec

Please sign in to comment.