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

Files not being generated? #583

Closed
OmgImAlexis opened this issue Mar 10, 2022 · 3 comments
Closed

Files not being generated? #583

OmgImAlexis opened this issue Mar 10, 2022 · 3 comments
Labels

Comments

@OmgImAlexis
Copy link

I updated from 5.10.0 to 5.12.0 and now I'm not seeing my files being generated. Only the metafile.

❯ .\node_modules\.bin\tsup --metafile
CLI Building entry: {"cli":"app/cli.ts","index":"app/index.ts"}
CLI Using tsconfig: tsconfig.json
CLI tsup v5.12.0
CLI Using tsup config: C:\Users\xo\code\unraid\api\package.json
CLI Target: node12
CJS Build start
CJS ⚡️ Build success in 113ms

api on  main is 📦 v2.41.1 via  v14.18.3
❯ ls .\dist\

    Directory: C:\Users\xo\code\unraid\api\dist

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---          11/03/2022  6:53 AM             26 metafile-cjs.json


Here is the same test in 5.10.0

❯ ls .\dist\

    Directory: C:\Users\xo\code\unraid\api\dist

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---          11/03/2022  6:59 AM         744164 cli.js
-a---          11/03/2022  6:59 AM         995947 index.js
-a---          11/03/2022  6:59 AM         163662 metafile-cjs.json
@OmgImAlexis
Copy link
Author

In 5.12.0 if I call tsup with tsup ./app/cli.ts ./app/index.ts it builds the files. It's like it's skipping the package.json config?

  "tsup": {
    "entryPoints": {
      "cli": "app/cli.ts",
      "index": "app/index.ts"
    }
  }

@OmgImAlexis
Copy link
Author

So for now I have to call tsup with the files inline like so. It seems the config doesn't work?

tsup ./app/cli.ts ./app/index.ts

@egoist egoist closed this as completed in b480486 Mar 11, 2022
@github-actions
Copy link
Contributor

🎉 This issue has been resolved in version 5.12.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant