Comparing version 1.1.2 to 1.1.3
{ | ||
"name": "nyg-jam3", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Jam3 project scaffold generator based on nyg", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,3 +6,3 @@ 'use strict'; | ||
var path = require('path'); | ||
var gzip = require('zlib').createGzip(); | ||
var zlib = require('zlib'); | ||
@@ -12,2 +12,3 @@ glob(path.join(config.output,'*.{css,js}'),function(err,files) { | ||
files.map(function(cur) { | ||
var gzip = zlib.createGzip(); | ||
fs.createReadStream(cur).pipe(gzip).pipe(fs.createWriteStream(cur+'.gz')); | ||
@@ -14,0 +15,0 @@ }); |
@@ -28,4 +28,4 @@ 'use strict'; | ||
sourceMap: { | ||
sourceMapFilename: path.join(config.output,lessOutput+'.map'), | ||
sourceMapBasepath: config.output | ||
sourceMapFilename: lessOutput+'.map', | ||
sourceMapRootpath: '../' | ||
} | ||
@@ -32,0 +32,0 @@ },function(err,output) { |
@@ -32,4 +32,3 @@ 'use strict'; | ||
outputStyle: 'compressed', | ||
sourceMap: true, | ||
sourceMapRoot: config.output | ||
sourceMap: true | ||
}, function (err, output) { | ||
@@ -36,0 +35,0 @@ if (!err) { |
Sorry, the diff of this file is not supported yet
97349