argon-cli
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -173,3 +173,7 @@ #!/usr/bin/env node | ||
} else { | ||
createComponent(inputComponentName, data.bundle); | ||
const params = [inputComponentName]; | ||
if (moduleName === 'Component') { | ||
params.push(data.bundle); | ||
} | ||
createComponent(...params); | ||
} | ||
@@ -176,0 +180,0 @@ } catch (e) { |
{ | ||
"name": "argon-cli", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "Argon CLI provide tools for creating components and running build scripts", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
10470
180