Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.18 KB

MIGRATION.md

File metadata and controls

43 lines (35 loc) · 1.18 KB

Migration guidelines

2.0.0-beta.1 migration guide

We've switched from previously only providing the source and a minified version of the JS, to additionally provide the different relevant JavaScript formats especially regarding modules supported by microbundle. Thatfor we even also changed the location of the generated files as well as pointed the relevant property entries within the package.json to those files. Please find all the relevant generated files in the dist/ folder from now on.

2.0.0-beta.0 migration guide

You'll need to wrap the <picture> tag instead of the included HTML tags with <noscript>.

Previously

<picture>
	<noscript class="loading-lazy">
		<source srcset="[email protected] 1x, [email protected] 2x" />
		<img
			src="[email protected]"
			loading="lazy"
			alt=".."
			width="250"
			height="150"
		/>
	</noscript>
</picture>

Now

<noscript class="loading-lazy">
	<picture>
		<source srcset="[email protected] 1x, [email protected] 2x" />
		<img
			src="[email protected]"
			loading="lazy"
			alt=".."
			width="250"
			height="150"
		/>
	</picture>
</noscript>