Open regseb opened 23 hours ago
Hi, thanks for reporting.
semver-utils
is included in the package.json, but maybe Rollup is not bundling it properly. Do you know how to force Rollup to include a library?
semver-utils
is in the "devDependencies"
that aren't published. It should be put in "dependencies"
.
Vite uses Rollup to automatically tree shake the devDependencies and bundle them for production.
https://github.com/raineorshine/npm-check-updates/blob/main/vite.config.mts
I'm sure it's just a matter of adding it to the Vite config. I'll play around with it next chance I get :).
semver-utils
is imported inbuild/index.d.ts
. But the librarysemver-utils
isn't in thepackage.json
dependencies
.Steps to Reproduce
Files:
package.json
index.ts
Steps:
npm install
npx tsc --module nodenext index.ts
Current Behavior
Expected Behavior
No error.