xcatliu / pagic

A static site generator powered by Deno + React
https://pagic.org
MIT License
1.65k stars 103 forks source link

Feature: Ignore system files, same like npm does #20

Closed revelt closed 4 years ago

revelt commented 4 years ago

Same like npm does, let's ignore the following files as they are not static:

.*.swp
._*
.DS_Store
.git
.hg
.npmrc
.lock-wscript
.svn
.wafpickle-*
config.gypi
CVS
npm-debug.log

https://docs.npmjs.com/using-npm/developers.html

I noticed on my builds the .DS_Store gets copied over...

xcatliu commented 4 years ago

An ignore option will be added to pagic.config.ts file, I'll keep this BLACK_LIST as the default ignore regex