未验证 提交 b6c6770c 编写于 作者: K kaykdm 提交者: GitHub

Fix with-react-intl example (#20763)

Co-authored-by: NKanta Kodama <kanta.kodama@linecorp.com>
上级 6fd877ff
......@@ -6,7 +6,7 @@
"dev-no-custom-server": "next dev",
"build": "npm run extract:i18n && npm run compile:i18n && next build && tsc -p tsconfig.server.json",
"extract:i18n": "formatjs extract '{pages,components}/*.{js,ts,tsx}' --format simple --id-interpolation-pattern '[sha512:contenthash:base64:6]' --out-file lang/en.json",
"compile:i18n": "formatjs compile-folder --ast --format simple lang/ compiled-lang/",
"compile:i18n": "formatjs compile-folder --ast --format simple lang compiled-lang",
"start": "cross-env NODE_ENV=production NODE_ICU_DATA=node_modules/full-icu node dist/server",
"start-no-custom-server": "next start"
},
......@@ -32,7 +32,7 @@
"@types/accepts": "^1.3.5",
"cross-spawn": "7.0.3",
"prettier": "2.0.5",
"ts-node": "8.0.0",
"ts-node": "8.0.1",
"typescript": "4.0"
},
"prettier": {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册