-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: un-ignore the build folder for publishing (#22)
Since there is no .npmignore file, then .gitignore is used when packaging the library, and since build/ is included in .gitignore, we need to "un-ignore" it when packaging the app. The "files" array in package.json has priority, so if we include it there, it cannot be ignored by .npmignore nor .gitignore.[1] > Files included with the “package.json#files” field cannot be excluded > through .npmignore or .gitignore. [1] https://docs.npmjs.com/files/package.json [1] https://docs.npmjs.com/files/package.json
- Loading branch information
Showing
2 changed files
with
6 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters