Skip to content

Commit 4599d33

Browse files
committed
fixing the build for the quiz-app
1 parent 96dcc37 commit 4599d33

File tree

3 files changed

+108
-106
lines changed

3 files changed

+108
-106
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ bld/
3838
# Uncomment if you have tasks that create the project's static files in wwwroot
3939
#wwwroot/
4040

41+
dist/
42+
4143
# Visual Studio 2017 auto generated files
4244
Generated\ Files/
4345

quiz-app/package-lock.json

Lines changed: 81 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,34 @@
11
// index.js
2-
import en from './en.json';
3-
import ko from './ko.json';
4-
import id from './id.json';
5-
import hi from './hi.json';
6-
import it from './it.json';
7-
import ja from './ja.json';
8-
import gr from './gr.json';
9-
import ms from './ms.json';
10-
import es from './es.json';
11-
import nl from './nl.json';
12-
import zh_cn from './zh_cn.json';
13-
import zh_tw from './zh_tw.json';
14-
import fr from './fr.json';
15-
2+
import en from "./en.json";
3+
import ko from "./ko.json";
4+
import id from "./id.json";
5+
import hi from "./hi.json";
6+
import it from "./it.json";
7+
import ja from "./ja.json";
8+
import gr from "./gr.json";
9+
import ms from "./ms.json";
10+
import es from "./es.json";
11+
import nl from "./nl.json";
12+
import zh_cn from "./zh_cn.json";
13+
import zh_tw from "./zh_tw.json";
14+
import fr from "./fr.json";
1615

1716
//export const defaultLocale = 'en';
1817

1918
const messages = {
20-
en: en[0],
21-
ko: ko[0],
22-
id: id[0],
23-
hi: hi[0],
24-
it: it[0],
25-
ja: ja[0],
26-
gr: gr[0],
27-
ms: ms[0],
28-
es: es[0],
29-
nl: nl[0],
30-
zh_cn: zh_cn[0],
19+
en: en[0],
20+
ko: ko[0],
21+
id: id[0],
22+
hi: hi[0],
23+
it: it[0],
24+
ja: ja[0],
25+
gr: gr[0],
26+
ms: ms[0],
27+
es: es[0],
28+
nl: nl[0],
29+
zh_cn: zh_cn[0],
3130
zh_tw: zh_tw[0],
32-
fr: fr[0],
33-
31+
fr: fr[0],
3432
};
3533

3634
export default messages;

0 commit comments

Comments
 (0)