There is an npm package whose production version is built using the webpack in the folder ./build . Accordingly, the package.json spelled "main": "build/index.js" . But you don't need to put the build folder in the repository on GitHub. It is located in .gitignore . Question: how correctly to automatically load the package on npm while not loading the production assembly into the repository?

0