@pinegrow/iles-module 3.0.0-beta.114 → 3.0.0-beta.116
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.cjs +4 -1
- package/dist/index.js +4 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -129,7 +129,10 @@ async function src_default(moduleOptions) {
|
|
|
129
129
|
try {
|
|
130
130
|
let parentResourceExists = true;
|
|
131
131
|
if (resource.parentResource) {
|
|
132
|
-
const projectRoot =
|
|
132
|
+
const projectRoot = (
|
|
133
|
+
/*this.projectRoot ||*/
|
|
134
|
+
process.cwd()
|
|
135
|
+
);
|
|
133
136
|
const resourcePath = _path2.default.resolve(projectRoot, resource.parentResource);
|
|
134
137
|
parentResourceExists = parentResourceExists && _fs2.default.existsSync(resourcePath);
|
|
135
138
|
}
|
package/dist/index.js
CHANGED
|
@@ -129,7 +129,10 @@ async function src_default(moduleOptions) {
|
|
|
129
129
|
try {
|
|
130
130
|
let parentResourceExists = true;
|
|
131
131
|
if (resource.parentResource) {
|
|
132
|
-
const projectRoot =
|
|
132
|
+
const projectRoot = (
|
|
133
|
+
/*this.projectRoot ||*/
|
|
134
|
+
process.cwd()
|
|
135
|
+
);
|
|
133
136
|
const resourcePath = path.resolve(projectRoot, resource.parentResource);
|
|
134
137
|
parentResourceExists = parentResourceExists && fs.existsSync(resourcePath);
|
|
135
138
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pinegrow/iles-module",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.116",
|
|
4
4
|
"description": "Pinegrow Iles Module",
|
|
5
5
|
"author": "Pinegrow (http://pinegrow.com/)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"increment-beta-version": "npm version prerelease --preid=beta"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@pinegrow/vite-plugin": "3.0.0-beta.
|
|
36
|
+
"@pinegrow/vite-plugin": "3.0.0-beta.116",
|
|
37
37
|
"node-html-parser": "^6.1.5",
|
|
38
38
|
"unplugin-auto-import": "^0.15.2"
|
|
39
39
|
},
|