davidmyersdev / vite-plugin-node-polyfills

A Vite plugin to polyfill Node's Core Modules for browser environments.
MIT License
263 stars 17 forks source link

warning Workspaces can only be enabled in private projects. #60

Closed nflaig closed 6 months ago

nflaig commented 7 months ago

Using this package in a yarn workspace repository causes the following warning

warning Workspaces can only be enabled in private projects.

This is due to the fact that this project has a workspace config but it not tagged as private https://github.com/davidmyersdev/vite-plugin-node-polyfills/blob/bfb529025d722a49cf98c395550fd46454d0de39/package.json#L94-L96

Is there any reason why this workspace setting is required?

nflaig commented 7 months ago
davidmyersdev commented 6 months ago

Is there any reason why this workspace setting is required?

Nope! Just a leftover relic from when I was using Yarn Berry.