Skip to content

v0.4.0 - Unglobalization

Compare
Choose a tag to compare
@trusktr trusktr released this 24 Oct 07:23
· 14 commits to main since this release

BREAKING: remove the UMD global build lib/ folder, move module output from es/ to dist/, convert all our code to Java
Script modules

To migrate: use JavaScript modules, f.e. import * as kiwi from '@lume/kiwi'. If you have a web app and are not using a build system (f.e. Webpack, Vite, Rollup, or similar) that knows how to resolve the names of libraries (f.e. the '@lume/kiwi' in the import statement), then you need to use an importmap. See example/index.html for a <script type="importmap"> example, and MDN web docs on import maps: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap

Full Changelog: v0.3.4...v0.4.0