Simplified changes.
This commit is contained in:
@@ -22,8 +22,8 @@ function getSymbols(callback) {
|
|||||||
|
|
||||||
const srcPath = path.posix.resolve(__dirname, '../src').replace(/\\/g,'/');
|
const srcPath = path.posix.resolve(__dirname, '../src').replace(/\\/g,'/');
|
||||||
function getPath(name) {
|
function getPath(name) {
|
||||||
const fullPath = require.resolve(path.resolve('src', name)).replace(/\\/g,'/');
|
const fullPath = require.resolve(path.resolve('src', name));
|
||||||
return './' + path.posix.relative(srcPath, fullPath);
|
return './' + path.posix.relative(srcPath, fullPath.replace(/\\/g,'/'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user