Generate correct includes list on windows hosts.
This commit is contained in:
@@ -20,9 +20,10 @@ function getSymbols(callback) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const srcPath = path.posix.resolve(__dirname, '../src').replace(/\\/g,'/');
|
||||||
function getPath(name) {
|
function getPath(name) {
|
||||||
const fullPath = require.resolve(path.resolve('src', name));
|
const fullPath = require.resolve(path.resolve('src', name)).replace(/\\/g,'/');
|
||||||
return './' + path.posix.relative('src/', fullPath);
|
return './' + path.posix.relative(srcPath, fullPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user