@open-norantec/herbal 1.0.2-alpha.31 → 1.0.2-alpha.32
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/cli/herbal.js +16 -0
- package/package.json +2 -2
package/dist/cli/herbal.js
CHANGED
|
@@ -167,12 +167,20 @@ command
|
|
|
167
167
|
'--obfuscate',
|
|
168
168
|
'--obfuscator-config-file <string>',
|
|
169
169
|
'--disable-write-file',
|
|
170
|
+
'--disable-minify',
|
|
171
|
+
'--disable-minify-identifiers',
|
|
172
|
+
'--disable-minify-syntax',
|
|
173
|
+
'--disable-minify-whitespace',
|
|
170
174
|
],
|
|
171
175
|
onLog: log,
|
|
172
176
|
defaultOptions: function () { return ({
|
|
173
177
|
watch: true,
|
|
174
178
|
executeAfterBuild: true,
|
|
175
179
|
obfuscate: false,
|
|
180
|
+
disableMinify: true,
|
|
181
|
+
disableMinifyIdentifiers: true,
|
|
182
|
+
disableMinifySyntax: true,
|
|
183
|
+
disableMinifyWhitespace: true,
|
|
176
184
|
getWatcher: handleGetWatcher,
|
|
177
185
|
getVirtualEntryFileContent: handleGetVirtualEntryFileContent,
|
|
178
186
|
onGetFileContent: handleGetFileContent,
|
|
@@ -190,11 +198,19 @@ command
|
|
|
190
198
|
'--obfuscate',
|
|
191
199
|
'--obfuscator-config-file <string>',
|
|
192
200
|
'--disable-write-file',
|
|
201
|
+
'--disable-minify',
|
|
202
|
+
'--disable-minify-identifiers',
|
|
203
|
+
'--disable-minify-syntax',
|
|
204
|
+
'--disable-minify-whitespace',
|
|
193
205
|
],
|
|
194
206
|
defaultOptions: function (source, output, options) { return ({
|
|
195
207
|
watch: false,
|
|
196
208
|
executeAfterBuild: false,
|
|
197
209
|
obfuscate: false,
|
|
210
|
+
disableMinify: true,
|
|
211
|
+
disableMinifyIdentifiers: true,
|
|
212
|
+
disableMinifySyntax: true,
|
|
213
|
+
disableMinifyWhitespace: true,
|
|
198
214
|
getWatcher: handleGetWatcher,
|
|
199
215
|
onGetFileContent: handleGetFileContent,
|
|
200
216
|
onOutputFile: createHandleOutputFile(false),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-norantec/herbal",
|
|
3
|
-
"version": "1.0.2-alpha.
|
|
3
|
+
"version": "1.0.2-alpha.32",
|
|
4
4
|
"description": "Herbal is a builder and toolchain for Nest.js applications",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@nestjs/common": "^10.0.0",
|
|
39
39
|
"@nestjs/core": "^10.4.19",
|
|
40
40
|
"@nestjs/sequelize": "^10.0.1",
|
|
41
|
-
"@open-norantec/forge": "
|
|
41
|
+
"@open-norantec/forge": "latest",
|
|
42
42
|
"@open-norantec/utilities": "latest",
|
|
43
43
|
"commander": "^12.1.0",
|
|
44
44
|
"fs-extra": "^11.3.4",
|