Skip to content

Commit c990ea2

Browse files
committed
fix(sourcemaps): let the client decide how to handle sourcemaps (so it can ignore & update CSS)
1 parent a9e313e commit c990ea2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/default-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ module.exports = {
513513
"js": "script"
514514
},
515515

516-
injectFileTypes: ["css", "png", "jpg", "jpeg", "svg", "gif", "webp"],
516+
injectFileTypes: ["css", "png", "jpg", "jpeg", "svg", "gif", "webp", "map"],
517517
excludedFileTypes: [
518518
"js",
519519
"css",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"lodash": "lodash include=isUndefined,isFunction,toArray,includes,union,each,isString,merge,isObject,set exports=node"
3333
},
3434
"dependencies": {
35-
"browser-sync-client": "2.4.7",
35+
"browser-sync-client": "2.5.0",
3636
"browser-sync-ui": "0.6.3",
3737
"bs-recipes": "1.3.4",
3838
"chokidar": "1.7.0",

0 commit comments

Comments
 (0)