Open mrexodia opened 4 months ago
{
"exports": {
".": {
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js"
}
}
}
I've added that and no more warning in local. But when running build
I got this
Description
Steps to check or reproduce
Run
npm install
in a project with the latest"svelte-grid": "^5.1.2",
and"@sveltejs/vite-plugin-svelte": "^3.0.2",
.Potential fix
As usual with deprecation warnings like this the migration path is rather unclear. It looks like you need to change:
To a construction like this (or actually you need to have both, since some tools are not compatible with this yet 🤦🏻♂️):