@hyperframes/producer 0.5.0-alpha.1 → 0.5.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -108619,13 +108619,13 @@ function createFileServer2(options) {
|
|
|
108619
108619
|
let filePath = null;
|
|
108620
108620
|
if (compiledDir) {
|
|
108621
108621
|
const candidate = join12(compiledDir, relativePath);
|
|
108622
|
-
if (existsSync13(candidate) && isPathInside(candidate, compiledDir
|
|
108622
|
+
if (existsSync13(candidate) && isPathInside(candidate, compiledDir) && statSync6(candidate).isFile()) {
|
|
108623
108623
|
filePath = candidate;
|
|
108624
108624
|
}
|
|
108625
108625
|
}
|
|
108626
108626
|
if (!filePath) {
|
|
108627
108627
|
const candidate = join12(projectDir, relativePath);
|
|
108628
|
-
if (existsSync13(candidate) && isPathInside(candidate, projectDir
|
|
108628
|
+
if (existsSync13(candidate) && isPathInside(candidate, projectDir) && statSync6(candidate).isFile()) {
|
|
108629
108629
|
filePath = candidate;
|
|
108630
108630
|
}
|
|
108631
108631
|
}
|