diff options
author | Kristóf Marussy <kristof@marussy.com> | 2021-12-30 00:26:01 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2021-12-30 02:24:28 +0100 |
commit | 61fd13c55f5e69a9d8b32dd0d74b08870783bcce (patch) | |
tree | 4f3f97b1629f3c262bea076b596bc7245ccbc0bd /.yarnrc.yml | |
parent | Revert "refactor: Switch back to consola for prettyness" (diff) | |
download | sophie-61fd13c55f5e69a9d8b32dd0d74b08870783bcce.tar.gz sophie-61fd13c55f5e69a9d8b32dd0d74b08870783bcce.tar.zst sophie-61fd13c55f5e69a9d8b32dd0d74b08870783bcce.zip |
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).
Diffstat (limited to '.yarnrc.yml')
-rw-r--r-- | .yarnrc.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.yarnrc.yml b/.yarnrc.yml index 9c13019..f83ee48 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml | |||
@@ -6,4 +6,13 @@ plugins: | |||
6 | - path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs | 6 | - path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs |
7 | spec: "@yarnpkg/plugin-typescript" | 7 | spec: "@yarnpkg/plugin-typescript" |
8 | 8 | ||
9 | logFilters: | ||
10 | # Discard incompatible package architecture warnings. | ||
11 | - code: YN0076 | ||
12 | level: discard | ||
13 | |||
14 | nmMode: hardlinks-local | ||
15 | |||
16 | nodeLinker: node-modules | ||
17 | |||
9 | yarnPath: .yarn/releases/yarn-3.1.1.cjs | 18 | yarnPath: .yarn/releases/yarn-3.1.1.cjs |