cayo 1.3.0 → 1.3.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/lib/core/bundle.js +1 -1
- package/package.json +1 -1
package/lib/core/bundle.js
CHANGED
|
@@ -133,7 +133,7 @@ export async function build(input, config, type = 'page') {
|
|
|
133
133
|
} catch (err) {
|
|
134
134
|
let absoluteBase = type !== 'cayo'
|
|
135
135
|
? config[`${type}s`]
|
|
136
|
-
:
|
|
136
|
+
: config.projectRoot;
|
|
137
137
|
|
|
138
138
|
let relativeFilePath = input.replace(absoluteBase, '');
|
|
139
139
|
let errorMessage = `Could not compile ${type}: '${relativeFilePath}'`;
|