@servicetitan/docs-uikit 27.0.0 → 27.1.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.
Files changed (2) hide show
  1. package/docs/startup.mdx +13 -4
  2. package/package.json +2 -2
package/docs/startup.mdx CHANGED
@@ -309,10 +309,16 @@ By default `startup` configures webpack to minify production bundles conservativ
309
309
  so that projects gain the benefits of reduced bundle sizes while retaining the highest
310
310
  fidelity for source map debugging.
311
311
 
312
- Set `minify.js` to `false` to prevent webpack from minifying a package.
312
+ Set `minify.js` or `minify.css` to `false` to prevent webpack from minifying JS or CSS bundles.
313
313
 
314
- To override the default [Terser](https://github.com/terser/terser) plugin configuration,
315
- set `minify.js` to an object containing [`terserOptions`](https://webpack.js.org/plugins/terser-webpack-plugin/#terseroptions).
314
+ Startup uses [TerserWebpackPlugin](https://webpack.js.org/plugins/terser-webpack-plugin) to minify JS bundles
315
+ and uses [CssMinimizerWebpackPlugin](https://webpack.js.org/plugins/css-minimizer-webpack-plugin)
316
+ to minify CSS bundles.
317
+
318
+ To override the default Terser options set `minify.js` to an object containing
319
+ [`terserOptions`](https://webpack.js.org/plugins/terser-webpack-plugin/#terseroptions).
320
+ To override the default CssMinimizerWebpackPlugin options, set `minify.css` to an object containing
321
+ [CssMinimizerWebpackPlugin options](https://webpack.js.org/plugins/css-minimizer-webpack-plugin/#options).
316
322
  E.g.,
317
323
 
318
324
  ```json title="package.json"
@@ -321,7 +327,10 @@ E.g.,
321
327
  "webpack": {
322
328
  "minify": {
323
329
  "js": {
324
- // terser-webpack-plugin options
330
+ // terser-webpack-plugin terserOptions
331
+ },
332
+ "css": {
333
+ // css-minimizer-webpack-plugin options
325
334
  }
326
335
  }
327
336
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servicetitan/docs-uikit",
3
- "version": "27.0.0",
3
+ "version": "27.1.1",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,5 +16,5 @@
16
16
  "cli": {
17
17
  "webpack": false
18
18
  },
19
- "gitHead": "7076608156b454b875fedf0fcb1fa07ff573c899"
19
+ "gitHead": "e24a80e931fd09efc6d62be1dfdf8315fe581f78"
20
20
  }