mikel-cli 0.35.0 → 0.35.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/index.js +1 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -48,7 +48,7 @@ export const loadConfiguration = async (configurationFile) => {
|
|
|
48
48
|
// check the extension of the file
|
|
49
49
|
const configurationExtension = path.extname(configurationFile);
|
|
50
50
|
if (configurationExtension === ".js" || configurationExtension === ".mjs") {
|
|
51
|
-
return await import(configurationPath);
|
|
51
|
+
return (await import(configurationPath)).default;
|
|
52
52
|
}
|
|
53
53
|
else if (configurationExtension === ".json") {
|
|
54
54
|
return JSON.parse(await fs.readFile(configurationPath, "utf8"));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mikel-cli",
|
|
3
3
|
"description": "The cli tool for mikel templating.",
|
|
4
|
-
"version": "0.35.
|
|
4
|
+
"version": "0.35.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"mikel": "cli.js"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"mikel": "^0.35.
|
|
38
|
+
"mikel": "^0.35.1"
|
|
39
39
|
},
|
|
40
40
|
"files": [
|
|
41
41
|
"README.md",
|