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:
parent
3ed27534ad
commit
a47f38caa0
|
@ -20,7 +20,8 @@
|
||||||
"autoprefixer": "^9.5.1",
|
"autoprefixer": "^9.5.1",
|
||||||
"concurrently": "^4.1.0",
|
"concurrently": "^4.1.0",
|
||||||
"cpx": "^1.5.0",
|
"cpx": "^1.5.0",
|
||||||
"parcel-bundler": "^1.12.3",
|
"node-sass": "^4.12.0",
|
||||||
|
"parcel-bundler": "1.9.7",
|
||||||
"rimraf": "^2.6.3",
|
"rimraf": "^2.6.3",
|
||||||
"sass": "^1.19.0"
|
"sass": "^1.19.0"
|
||||||
},
|
},
|
||||||
|
|
|
@ -192,7 +192,7 @@ export function syncWords(remoteWords, deletedWords) {
|
||||||
}
|
}
|
||||||
|
|
||||||
remoteWords.forEach(remoteWord => {
|
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) {
|
||||||
if (localWord.lastUpdated < remoteWord.lastUpdated) {
|
if (localWord.lastUpdated < remoteWord.lastUpdated) {
|
||||||
localWord = remoteWord;
|
localWord = remoteWord;
|
||||||
|
|
Loading…
Reference in New Issue