milkee 0.0.15 → 0.0.17
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/dist/main.js +8 -8
- package/package.json +1 -1
package/dist/main.js
CHANGED
@@ -98,6 +98,13 @@
|
|
98
98
|
milkee = config.milkee || {};
|
99
99
|
milkeeOptions = config.milkee.options || {};
|
100
100
|
commandParts = ['coffee'];
|
101
|
+
if (options.join) {
|
102
|
+
commandParts.push('--join');
|
103
|
+
commandParts.push(`\"${config.output}\"`);
|
104
|
+
} else {
|
105
|
+
commandParts.push('--output');
|
106
|
+
commandParts.push(`\"${config.output}\"`);
|
107
|
+
}
|
101
108
|
summary = [];
|
102
109
|
summary.push(`Entry: \`${config.entry}\``);
|
103
110
|
summary.push(`Output: \`${config.output}\``);
|
@@ -112,6 +119,7 @@
|
|
112
119
|
title: "Milkee Compilation Summary",
|
113
120
|
message: summary.join('\n')
|
114
121
|
});
|
122
|
+
otherOptionStrings = [];
|
115
123
|
if (options.bare) {
|
116
124
|
otherOptionStrings.push("--bare");
|
117
125
|
}
|
@@ -154,15 +162,7 @@
|
|
154
162
|
return;
|
155
163
|
}
|
156
164
|
}
|
157
|
-
if (options.join) {
|
158
|
-
commandParts.push('--join');
|
159
|
-
commandParts.push(`\"${config.output}\"`);
|
160
|
-
} else {
|
161
|
-
commandParts.push('--output');
|
162
|
-
commandParts.push(`\"${config.output}\"`);
|
163
|
-
}
|
164
165
|
delete options.join;
|
165
|
-
otherOptionStrings = [];
|
166
166
|
if (milkeeOptions.refresh) {
|
167
167
|
targetDir = path.join(CWD, config.output);
|
168
168
|
if (!fs.existsSync(targetDir)) {
|