You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vps supports { "type": "module" } syntax, but telefunc does not yet. My issue is that telefunc generates package.json first, then vps, but vite warns me that it's already generated so it's skipped. Result: my package.json content is { "type": "commonjs" }, which is wrong.
Workaround
// Remove telefunc plugin for `package.json` file generationconsttel=telefunc().filter((p)=>p.name!=='telefunc:packageJsonFile');
Discussion
Easy fix would be to copy code from vps, but it's not really easy to maintain. Should we create a new repo under this organization to handle those common plugins?
The text was updated successfully, but these errors were encountered:
vps supports
{ "type": "module" }
syntax, but telefunc does not yet. My issue is thattelefunc
generatespackage.json
first, then vps, butvite
warns me that it's already generated so it's skipped. Result: my package.json content is{ "type": "commonjs" }
, which is wrong.Workaround
Discussion
Easy fix would be to copy code from vps, but it's not really easy to maintain. Should we create a new repo under this organization to handle those common plugins?
The text was updated successfully, but these errors were encountered: