From 61fd13c55f5e69a9d8b32dd0d74b08870783bcce Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Thu, 30 Dec 2021 00:26:01 +0100 Subject: build: Switch to esbuild We will build all packages except the frontend (where vite remains in use) with esbuild. For some reason, the @yarnpkg/esbuild-plugin-pnp doesn't allow esbuild to load esm modules and we fall back to commonjs for dependencies. Hence we had to switch back to node_modules (but still rely on yarn hardlinking for a more efficient install). --- .yarnrc.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.yarnrc.yml') diff --git a/.yarnrc.yml b/.yarnrc.yml index 9c13019..f83ee48 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -6,4 +6,13 @@ plugins: - path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs spec: "@yarnpkg/plugin-typescript" +logFilters: + # Discard incompatible package architecture warnings. + - code: YN0076 + level: discard + +nmMode: hardlinks-local + +nodeLinker: node-modules + yarnPath: .yarn/releases/yarn-3.1.1.cjs -- cgit v1.2.3-54-g00ecf