Downgrade parcel-bundler to 1.9.7; minor fixes

Newer versions incorrectly link html files:
https://github.com/parcel-bundler/parcel/issues/2791
This commit is contained in:
Robbie Antenesse 2019-06-03 14:01:53 -06:00
parent e9c6cd7824
commit 441dfb4d6e
3 changed files with 1723 additions and 1357 deletions

View File

@ -20,7 +20,8 @@
"autoprefixer": "^9.5.1",
"concurrently": "^4.1.0",
"cpx": "^1.5.0",
"parcel-bundler": "^1.12.3",
"node-sass": "^4.12.0",
"parcel-bundler": "1.9.7",
"rimraf": "^2.6.3",
"sass": "^1.19.0"
},

View File

@ -192,7 +192,7 @@ export function syncWords(remoteWords, deletedWords) {
}
remoteWords.forEach(remoteWord => {
const localWord = words.find(word => word.wordId === remoteWord.wordId);
let localWord = words.find(word => word.wordId === remoteWord.wordId);
if (localWord) {
if (localWord.lastUpdated < remoteWord.lastUpdated) {
localWord = remoteWord;

3075
yarn.lock

File diff suppressed because it is too large Load Diff