Releases: chemmedia/knowledgeworker-embedded-asset-api-question-example
v2.0.0
This release brings about significant changes under the hood.
Breaking Change: Transition from webpack to vite
In this release, we've migrated from using webpack for bundling to adopting vite. This transition brings numerous benefits, including improved build performance, enhanced development experience through simplified configuration, and better support for modern JavaScript features.
Breaking Change: Node.js 18 Minimum Supported Version
Starting from this release, Node.js version 18 is the minimum supported version. Ensure that your project is using Node.js 18 or higher to leverage the latest features and improvements.
Upgrade Instructions
To upgrade your existing project to the latest version, update the dev-dependencies listed in package.json to match this project. In particular, webpack-related dependencies should be removed and vite-related dependencies added. If you've made changes to the webpack configuration, migrate those to vite.config.ts. Update your index.html to load src/app/index.ts and move it to the project root. Finally, delete the webpack directory from the project root.