Revert "Try using ignore-space-change flag for git diff."

This reverts commit 6b1c015db7.
This commit is contained in:
Dillon Kearns 2021-10-16 10:56:43 -07:00
parent 6b1c015db7
commit 055a0353c4
3 changed files with 4 additions and 2 deletions

2
.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
* text=auto eol=lf

View File

@ -4,7 +4,7 @@
"description": "Example site built with elm-pages.",
"scripts": {
"start": "elm-pages dev --base base-path",
"test": "elm-pages build --debug --base base-path && git diff --exit-code --ignore-space-change ./dist",
"test": "elm-pages build --debug --base base-path && git diff --exit-code ./dist",
"serve": "npm run build -- --base base-path && mv ./dist/* ./dist/base-path/ && http-server ./dist -a localhost -p 3000 -c-1",
"build": "elm-pages build --base base-path"
},

View File

@ -4,7 +4,7 @@
"description": "Example site built with elm-pages.",
"scripts": {
"start": "elm-pages dev",
"test": "elm-pages build --debug && git diff --exit-code --ignore-space-change ./dist && elm-pages build && git diff --exit-code --ignore-space-change ./dist",
"test": "elm-pages build --debug && git diff --exit-code ./dist && elm-pages build && git diff --exit-code ./dist",
"serve": "npm run build && http-server ./dist -a localhost -p 3000 -c-1",
"build": "elm-pages build"
},