cayo 1.3.0 → 1.3.2
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 +3 -2
- package/package.json +1 -1
package/lib/core/bundle.js
CHANGED
|
@@ -40,7 +40,8 @@ export async function getDeps(input, config) {
|
|
|
40
40
|
resolve({
|
|
41
41
|
browser: true,
|
|
42
42
|
exportConditions: ['svelte'],
|
|
43
|
-
extensions: ['.svelte']
|
|
43
|
+
extensions: ['.svelte'],
|
|
44
|
+
external: [],
|
|
44
45
|
}),
|
|
45
46
|
...defaultRollupPlugins(),
|
|
46
47
|
...userRollupPlugins(config),
|
|
@@ -133,7 +134,7 @@ export async function build(input, config, type = 'page') {
|
|
|
133
134
|
} catch (err) {
|
|
134
135
|
let absoluteBase = type !== 'cayo'
|
|
135
136
|
? config[`${type}s`]
|
|
136
|
-
:
|
|
137
|
+
: config.projectRoot;
|
|
137
138
|
|
|
138
139
|
let relativeFilePath = input.replace(absoluteBase, '');
|
|
139
140
|
let errorMessage = `Could not compile ${type}: '${relativeFilePath}'`;
|