@moneko/core 3.0.0-beta.130 → 3.0.0-beta.131
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/lib/virtual-modules.js +1 -1
- package/package.json +1 -1
package/lib/virtual-modules.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{accessSync as p,constants as o}from"fs";import{join as
|
|
1
|
+
import{accessSync as p,constants as o}from"fs";import{join as t}from"path";import a from"./app-entry.js";import r from"./app.js";import{CONFIG as e}from"./common.js";import{coverage as m}from"./coverage.js";import{isLibrary as l}from"./process-env.js";import{resolveProgramPath as s}from"./utils.js";let f={...e.virtualModule,"@app":r,"@app/fallback":"export default null","@app/coverage":m,"@app/entry":a};e.fallbackCompPath&&Object.assign(f,{"@app/fallback":`import Fallback from "${e.fallbackCompPath}";export default Fallback;`});let c={};if(l)try{let a=t(s("site"),"./mdx-scope.ts");p(a,o.R_OK),c='import scope from "@/mdx-scope";export default scope;'}catch(p){c={}}Object.assign(f,{"@app/mdx-scope":c});export default f;
|