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
-
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.ts
only contains:And that alone causes this warning:
Also, not sure if it's important or not, but it says
dist/main.js
when the output been generated is in realitydist/main.mjs
contents of the
build.config.ts
is: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.ts
with:The generated
dist/main.mjs
looks like this:So maybe
inlineDependencies: true
for rollup isn't doing what I though it would do.PS: I know Github documentation mentions to use
@vercel/ncc
but maybe unbuild can work too.Beta Was this translation helpful? Give feedback.
All reactions