-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
This is the strangest thing: I'm zipping up a dist directory using npm, and jszip is skipping a file. I'm using Windows 10 Professional 64-bit.
The npm script in my package.json is simple:
"scripts" {
"package": "jszip -o foobar.zip dist"
}
The files are inside dist/css. There are 27 files. It always skips one of them, guise-skeleton.min.css. Sometimes it skips two of them. I can see no rhyme or reason for this.
You can test this using the repository commit globalmentor/guise-skeleton@a5ad853 .
- Run
npm install. - Run
npm run clean. - Run
npm run build. - Look at the zip file generated in
dist/. On my machine it is missing the filedist/css/guise-skeleton.min.css.
(If you want to simplify the build, simply change the "package" script to the one above and run npm run package after you've performed the build at least once.)
Why would jszip be ignoring files in the source directory?
Metadata
Metadata
Assignees
Labels
No labels