Skip to content

What is the purpose of 3 package.json files #104

Closed Locked Answered by o0101
cliffordfajardo asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @cliffordfajardo I can see you are a very talented developer, thanks for joining the discussion!

Well spotted on this question.

The two package.json files are alternately for: 1) building and distribution (to NPM) and 2) development.

"type": "module" will not work with building with webpack and sending to NPM in this project, but I like to use it for development.

Thanks for this question :)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by o0101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants