Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 1.42 KB

0.5-0.6.md

File metadata and controls

18 lines (10 loc) · 1.42 KB

Migration Guide 0.5 - 0.6

Refactor for the new vendor bundling

Version 0.6 adds a new vendor.js and manifest.js script to the exported client assets. It also changes the format of the asset manifest (publicAssets.json). Please refer to this section in the conventions documentation for how the new assets should be referenced (and in what order!).

The following shows how we updated the starter kyts with the new rules:

PostCSS custom configuration

If you applied a custom PostCSS configuration in your kyt.config.js, then you should move your configuration into a postcss.config.js file at the root of your project. See more here.

Naming your chunks

Webpack added a not-so-graceful implementation for naming your imported chunks. You can now add a comment to your import statement to name the output file. This only helps in identifying your chunks during the build process.