@acryldev/blends 1.7.22 → 1.7.23
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 +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -723,8 +723,9 @@ function hostScriptOf(profile, frameModule) {
|
|
|
723
723
|
"const chosen = selectInstance({ projectRoot: frameworkRoot, env: process.env })",
|
|
724
724
|
"const appRoot = chosen.root",
|
|
725
725
|
"const home = chosen.home",
|
|
726
|
-
"// A host plugin's folder as the app has it: plugins
|
|
727
|
-
"
|
|
726
|
+
"// A host plugin's folder as the app has it: plugins/acryl-<id> only in an app made before the folders were renamed (registry Blueprints), else",
|
|
727
|
+
"// plugins/<id>. An installed app has neither on disk (the bundle overlay resolves it), so the current name is the default.",
|
|
728
|
+
"const hostPlugin = (id) => (existsSync(join(appRoot, 'plugins', `acryl-${id}`)) ? `acryl-${id}` : id)",
|
|
728
729
|
`const profileName = '${profile}'`,
|
|
729
730
|
"// The page and its tab are named for the app: the package's name, as the frame's header says it, else the folder's.",
|
|
730
731
|
"const appTitle = (() => {",
|