Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rollup-plugin-svelte: The following packages did not export their package.json #2091

Closed
1 task done
d-velopment opened this issue Oct 24, 2022 · 0 comments
Closed
1 task done

Comments

@d-velopment
Copy link

d-velopment commented Oct 24, 2022

Is there an existing issue for this?

  • I've searched for any related issues and avoided creating a duplicate issue.

Description

On build under Svelte, the following warn appears, preventing the successful deployment in some strict environments:

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.

- ws

Please add in package.json:

"exports": {
		"./package.json": "./package.json"
	}

ws version

8.9.0

Node.js Version

12.18.3

Expected result

No warn message

Attachments

No response

@lpinca lpinca closed this as completed in 211d5d3 Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant