Open theetrain opened 10 months ago
I tried installing and testing svelte@5.0.0-next.115
.
Test branch: https://github.com/carbon-design-system/carbon-components-svelte/tree/chore/svelte-5-test Changes made: https://github.com/carbon-design-system/carbon-components-svelte/commit/bd3ea6dbf171405fc20814ab1aa224e2d59f89e9
format
compiler optionI ran the docs: cd docs && yarn dev
, but then ran into this runtime error:
Uncaught TypeError: Cannot read properties of undefined (reading 'call')
Which points to this presumably svelte-generated code:
function clone_node(node, deep) {
return (
/** @type {N} */
clone_node_method.call(node, deep)
// ^ this is `undefined`
);
}
Going to try coming back to this later and find out why this happens.
Before publishing v1 package:
svelte
version in package.jsonpeerDependencies
to^3.55.1 || ^4.0.0 || ^5.0.0