Potential missing package.json files: dist/main.js #11
Unanswered
MrAmericanMike
asked this question in
Q&A
Replies: 1 comment
-
|
As for the 2nd issue, looks like moving the dependency on @actions/core and installing it as a devDependencies fixed that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a simple question, I'm setting up a project and when I do the unbuild I'm getting this warning and not sure how to either make it go away, or tell it what package.json if any should go into the dist folder.
I'm preparing what is going to be a Github action.
As for now my
src/main.tsonly contains:And that alone causes this warning:
Also, not sure if it's important or not, but it says
dist/main.jswhen the output been generated is in realitydist/main.mjscontents of the
build.config.tsis:And one thing that I noticed is that it's not packing all the dependencies within 1 file, so maybe that's the warning?
When I have
src/main.tswith:The generated
dist/main.mjslooks like this:So maybe
inlineDependencies: truefor rollup isn't doing what I though it would do.PS: I know Github documentation mentions to use
@vercel/nccbut maybe unbuild can work too.Beta Was this translation helpful? Give feedback.
All reactions