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
I am using a tsx to run apps in a nx monorepo with cross-env NODE_ENV=local tsx watch --tsconfig apps/xyz/tsconfig.app.json apps/xyz/src/main.ts. This works fine without any problems.
Now I try to build the same app with pkgroll as suggested in the tsx docs. The command I use is pkgroll --tsconfig apps/xyz/tsconfig.app.json --sourcemap --env.NODE_ENV=production apps/xyz/src/main.ts. Now I am always getting the error Error: No export entries found in package.json. What do I have to put into the package.jsons exports that this works in a nx monorepo?
Would be nice to have an nx plugin for pkgroll.
Motivations
tsx works fine with nx monorepos, would be nice to also use pkgroll easily with nx monorepos
Alternatives
No response
Additional context
No response
Bugs are expected to be fixed by those affected by it
I'm interested in working on this issue
Compensating engineering work financially will speed up resolution
I'm willing to offer financial support
The text was updated successfully, but these errors were encountered:
Feature request
I am using a tsx to run apps in a nx monorepo with cross-env NODE_ENV=local tsx watch --tsconfig apps/xyz/tsconfig.app.json apps/xyz/src/main.ts. This works fine without any problems.
Now I try to build the same app with pkgroll as suggested in the tsx docs. The command I use is pkgroll --tsconfig apps/xyz/tsconfig.app.json --sourcemap --env.NODE_ENV=production apps/xyz/src/main.ts. Now I am always getting the error Error: No export entries found in package.json. What do I have to put into the package.jsons exports that this works in a nx monorepo?
Would be nice to have an nx plugin for pkgroll.
Motivations
tsx works fine with nx monorepos, would be nice to also use pkgroll easily with nx monorepos
Alternatives
No response
Additional context
No response
Bugs are expected to be fixed by those affected by it
Compensating engineering work financially will speed up resolution
The text was updated successfully, but these errors were encountered: