cozy-ui
cozy-ui copied to clipboard
feat: Update cozy-harvest-lib from `6.7.3` to `17.0.0`
Following the update of some subdependencies, the baseDir
parameter of the bundlemon configuration no longer works if it is not filled in or simply with "."
or "./"
.
The transpiled/react
folder now having only components, it is more relevant that it is on the application side that the components are monitored by Bundlemon.
BREAKING CHANGE: Moved the stylesheet.css
file to the dist
folder, in order to group the style files.
You must change your import:
import 'cozy-ui/transpiled/react/stylesheet.css'
by import 'cozy-ui/dist/stylesheet.css'
BREAKING CHANGE: you must have cozy-harvest-lib >= 17.0.0
& cozy-client >= 40.2.0
To benefit from the fix https://github.com/cozy/cozy-libs/commit/920f9d2394da9011b1189da359282f8acdf7f4df
BundleMon
Files added (3)
Status | Path | Size | Limits |
---|---|---|---|
:white_check_mark: | cozy-ui.min.css |
+19.72KB | +10% |
:white_check_mark: | stylesheet.css |
+19.13KB | +10% |
:white_check_mark: | cozy-ui.utils.min.css |
+10.49KB | +10% |
Files removed (3)
Status | Path | Size | Limits |
---|---|---|---|
:white_check_mark: | dist/cozy-ui.min.css |
-19.72KB | - |
:white_check_mark: | transpiled/react/stylesheet.css |
-19.13KB | - |
:white_check_mark: | dist/cozy-ui.utils.min.css |
-10.49KB | - |
No change in files bundle size
Groups removed (1)
Status | Path | Size | Limits |
---|---|---|---|
:white_check_mark: | transpiled/react/** |
-627.62KB | - |
Final result: :white_check_mark:
View report in BundleMon website ➡️