microsoft / tslib

Runtime library for TypeScript helpers.
BSD Zero Clause License
1.25k stars 126 forks source link

[rollup-plugin-svelte] The following packages did not export their `package.json` #166

Closed nicovdbrink closed 2 years ago

nicovdbrink commented 2 years ago

I get this error on my svelte project.

[rollup-plugin-svelte] The following packages did not export their `package.json` file so we could not check the "svelte" field. If you had difficulties importing svelte components from a package, then please contact the author and ask them to export the package.json file.

- tslib

If I understand correctly, the following has to be added in the package.json: https://github.com/niieani/hashids.js/commit/425877d842b18918121788b3810dbec15241c8ac

I tried fixing this on my side without success, this issue causes my livereload to fail.

Thanks in advance.

nicovdbrink commented 2 years ago

Already see it has been added in https://github.com/microsoft/tslib/pull/163