vike 0.4.200-commit-de0e6ef → 0.4.200-commit-b635c6a
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/cjs/node/plugin/plugins/importUserCode/v1-design/getVikeConfig/transpileAndExecuteFile.js +2 -0
- package/dist/cjs/utils/PROJECT_VERSION.js +1 -1
- package/dist/esm/node/plugin/plugins/importUserCode/v1-design/getVikeConfig/transpileAndExecuteFile.js +2 -0
- package/dist/esm/utils/PROJECT_VERSION.d.ts +1 -1
- package/dist/esm/utils/PROJECT_VERSION.js +1 -1
- package/dist/esm/utils/projectInfo.d.ts +1 -1
- package/package.json +1 -1
|
@@ -110,12 +110,14 @@ async function transpileWithEsbuild(filePath, userRootDir, transformImports) {
|
|
|
110
110
|
const { path, ...opts } = args;
|
|
111
111
|
opts.pluginData = { [useEsbuildResolver]: true };
|
|
112
112
|
let resolved = await build.resolve(path, opts);
|
|
113
|
+
console.log('resolved', JSON.stringify(args, null, 2));
|
|
113
114
|
if (resolved.errors.length > 0) {
|
|
114
115
|
let resolvedWithNode;
|
|
115
116
|
try {
|
|
116
117
|
resolvedWithNode = require.resolve(args.path, { paths: [args.resolveDir] });
|
|
117
118
|
}
|
|
118
119
|
catch { }
|
|
120
|
+
console.log('resolvedWithNode', resolvedWithNode);
|
|
119
121
|
if (resolvedWithNode)
|
|
120
122
|
resolved = { path: resolvedWithNode };
|
|
121
123
|
}
|
|
@@ -105,12 +105,14 @@ async function transpileWithEsbuild(filePath, userRootDir, transformImports) {
|
|
|
105
105
|
const { path, ...opts } = args;
|
|
106
106
|
opts.pluginData = { [useEsbuildResolver]: true };
|
|
107
107
|
let resolved = await build.resolve(path, opts);
|
|
108
|
+
console.log('resolved', JSON.stringify(args, null, 2));
|
|
108
109
|
if (resolved.errors.length > 0) {
|
|
109
110
|
let resolvedWithNode;
|
|
110
111
|
try {
|
|
111
112
|
resolvedWithNode = require.resolve(args.path, { paths: [args.resolveDir] });
|
|
112
113
|
}
|
|
113
114
|
catch { }
|
|
115
|
+
console.log('resolvedWithNode', resolvedWithNode);
|
|
114
116
|
if (resolvedWithNode)
|
|
115
117
|
resolved = { path: resolvedWithNode };
|
|
116
118
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PROJECT_VERSION: "0.4.200-commit-
|
|
1
|
+
export declare const PROJECT_VERSION: "0.4.200-commit-b635c6a";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Automatically updated by @brillout/release-me
|
|
2
|
-
export const PROJECT_VERSION = '0.4.200-commit-
|
|
2
|
+
export const PROJECT_VERSION = '0.4.200-commit-b635c6a';
|