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:
- include the new manifest and vendor scripts and update how the client assets are referenced
- output the scripts in the correct order
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.
Webpack added a not-so-graceful implementation for naming your import
ed 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.