From c990ea223b5792e6d9b9c8fea34efb7f634a84c9 Mon Sep 17 00:00:00 2001 From: Shane Osbourne Date: Mon, 15 May 2017 15:13:13 +0100 Subject: [PATCH] fix(sourcemaps): let the client decide how to handle sourcemaps (so it can ignore & update CSS) --- lib/default-config.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/default-config.js b/lib/default-config.js index b5afb8d06..c35f38549 100644 --- a/lib/default-config.js +++ b/lib/default-config.js @@ -513,7 +513,7 @@ module.exports = { "js": "script" }, - injectFileTypes: ["css", "png", "jpg", "jpeg", "svg", "gif", "webp"], + injectFileTypes: ["css", "png", "jpg", "jpeg", "svg", "gif", "webp", "map"], excludedFileTypes: [ "js", "css", diff --git a/package.json b/package.json index 91906b7cc..436882bb7 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "lodash": "lodash include=isUndefined,isFunction,toArray,includes,union,each,isString,merge,isObject,set exports=node" }, "dependencies": { - "browser-sync-client": "2.4.7", + "browser-sync-client": "2.5.0", "browser-sync-ui": "0.6.3", "bs-recipes": "1.3.4", "chokidar": "1.7.0",