Skip to content

Commit e67136e

Browse files
committed
fix(config): fix slashes in debug config paths
1 parent 1d5c82b commit e67136e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/config/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const Promise = require('bluebird');
44
const fs = Promise.promisifyAll(require('fs'));
55
const path = require('path');
66
const utils = require('../../utils');
7+
const slash = require('slash');
78

89
var configs = [];
910
var basePackage = null;
@@ -105,7 +106,7 @@ const merge = function(from, to) {
105106

106107
const writeDebug = function(pack, outputDir) {
107108
var overrides = configs.map(function(item) {
108-
return item.path;
109+
return slash(item.path);
109110
});
110111

111112
var debug = {

0 commit comments

Comments
 (0)