@aravindc26/velu 0.12.0 → 0.12.1
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/package.json +1 -1
- package/src/cli.ts +1 -1
package/package.json
CHANGED
package/src/cli.ts
CHANGED
|
@@ -491,7 +491,7 @@ async function buildSite(docsDir: string) {
|
|
|
491
491
|
|
|
492
492
|
const PREVIEW_ENGINE_DIR = (() => {
|
|
493
493
|
const dev = join(PACKAGE_ROOT, "src", "preview-engine");
|
|
494
|
-
const packaged = join(
|
|
494
|
+
const packaged = join(dirname(__filename), "preview-engine");
|
|
495
495
|
return existsSync(dev) ? dev : packaged;
|
|
496
496
|
})();
|
|
497
497
|
|