From 4e7a96c5a831882463802cdd4f84fe1464969cb0 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Wed, 23 Mar 2022 12:29:43 +0100 Subject: refactor: use formatjs swc plugin I'm not able to configure SWC plugins in Next.js so to make it works, all translation must have an id. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index d522db3..33fd42f 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "test:watch": "jest --watch" }, "dependencies": { + "@formatjs/swc-plugin": "^1.3.2", "@mdx-js/loader": "^2.0.0", "@mdx-js/react": "^2.0.0", "@next/bundle-analyzer": "^12.1.0", @@ -45,7 +46,6 @@ "feed": "^4.2.2", "graphql": "^16.1.0", "graphql-request": "^4.1.0", - "intl-messageformat": "^9.11.4", "modern-normalize": "^1.1.0", "next": "^12.1.0", "next-sitemap": "^2.5.7", -- cgit v1.2.3