primate 0.29.2 → 0.29.3
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/package.json +1 -1
- package/src/app.js +2 -1
package/package.json
CHANGED
package/src/app.js
CHANGED
|
@@ -113,7 +113,8 @@ export default async (log, root, config) => {
|
|
|
113
113
|
const { location: { server, client, components } } = this.config;
|
|
114
114
|
|
|
115
115
|
const source = this.path.components;
|
|
116
|
-
const compile = this.extensions[component.fullExtension]?.compile
|
|
116
|
+
const compile = this.extensions[component.fullExtension]?.compile
|
|
117
|
+
?? this.extensions[component.extension]?.compile;
|
|
117
118
|
if (compile === undefined) {
|
|
118
119
|
const debased = `${component.path}`.replace(source, "");
|
|
119
120
|
|