mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 23:01:16 +08:00
CLEANUP
This commit is contained in:
parent
78e306138e
commit
7d0d98e54a
@ -76,7 +76,6 @@ export function serverRequire(filePath) {
|
||||
return null;
|
||||
}
|
||||
|
||||
console.log({ candidatePath });
|
||||
const candidateExt = path.extname(candidatePath);
|
||||
const moduleDescriptor = interpret.extensions[candidateExt];
|
||||
|
||||
@ -93,7 +92,6 @@ export function serverRequire(filePath) {
|
||||
|
||||
export function serverResolve(filePath) {
|
||||
const paths = Array.isArray(filePath) ? filePath : [filePath];
|
||||
console.log({ paths });
|
||||
const existingCandidate = getCandidate(paths);
|
||||
|
||||
if (!existingCandidate) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user