@metricinsights/pp-dev 0.4.0 → 0.5.0

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/README.md CHANGED
@@ -170,6 +170,48 @@ Default: `false`
170
170
 
171
171
  Description: Disables SSL certificate validation for proxy requests. Useful for self-signed certificates
172
172
 
173
+ #### `imageOptimizer`
174
+
175
+ Type: Boolean | Object
176
+
177
+ Default: `true`
178
+
179
+ Description: Enables image optimization for build.
180
+ If you want to disable image optimization, you need to set this option to `false`.
181
+ If you want to customize image optimization, you need to set this option to an object with properties that are described
182
+ in the [vite-plugin-image-optimizer](https://www.npmjs.com/package/vite-plugin-image-optimizer#plugin-options)
183
+
184
+ #### `outDir`
185
+
186
+ Type: String
187
+
188
+ Default: `dist`
189
+
190
+ Description: Define the output directory for the build
191
+
192
+ #### `distZip`
193
+
194
+ Type: Boolean | { outDir?: string, outFileName?: string }
195
+
196
+ Default: `true`
197
+
198
+ Description: Enables zipping the build output.
199
+ If you want to disable zipping the build output, you need to set this option to `false`.
200
+ If you want to customize zipping the build output,
201
+ you need to set this option to an object with properties `outDir` and `outFileName`.
202
+
203
+ - `outDir` defines the output directory for the zipped build.
204
+ - `outFileName` defines the output file name for the zipped build.
205
+ You can use placeholder `[templateName]` in the file name to replace it with the template name.
206
+
207
+ #### `syncBackupsDir`
208
+
209
+ Type: String
210
+
211
+ Default: `backups`
212
+
213
+ Description: Define the directory for the asset backups that are used for backup assets from the MI server
214
+
173
215
  ### CLI API description
174
216
 
175
217
  - `pp-dev help` - show CLI's help