Skip to content

Commit

Permalink
fixed lang file compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
steffen-roemer committed Mar 11, 2022
1 parent d8a100d commit a0833f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,11 @@
},
"scripts": {
"start": "node scripts/start.js",
"prebuild": "npm run compile",
"build": "node scripts/build.js",
"test": "node scripts/test.js",
"extract": "formatjs extract",
"compile": "formatjs compile"
"extract": "formatjs extract -- 'src/**/*.js' --ignore='**/*.test.js' --out-file lang/en.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'",
"compile": "formatjs compile-folder --ast lang src/assets/compiled-lang"
},
"eslintConfig": {
"extends": "react-app"
Expand Down

0 comments on commit a0833f0

Please sign in to comment.