We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1a0621 commit fa006f1Copy full SHA for fa006f1
src/conf/path.js
@@ -74,11 +74,12 @@ const getThemePath = () => {
74
return resolveTool('../../theme/default');
75
};
76
77
-const modPath = resolveTool('../../node_modules');
+const modPath = resolveApp('node_modules');
78
function getExcludeFoldersRegExp() {
79
if (!FS.existsSync(modPath)) return [];
80
let regxExc = FS.readdirSync(modPath);
81
- regxExc = regxExc.filter(item => item !== 'rdoc');
+ regxExc = regxExc.filter(item => !/rdoc(.*)/.test(item));
82
+
83
regxExc = regxExc.map((item) => {
84
let rgxPath = `node_modules${PATH.sep}${item}`;
85
if (PATH.sep === '\\') {
0 commit comments