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). --- packages/preload/package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'packages/preload/package.json') diff --git a/packages/preload/package.json b/packages/preload/package.json index caa23b6..5eb6055 100644 --- a/packages/preload/package.json +++ b/packages/preload/package.json @@ -8,7 +8,6 @@ "scripts": { "clean": "rimraf dist", "test": "jest", - "build": "vite build", "typecheck": "tsc" }, "dependencies": { @@ -24,7 +23,6 @@ "jsdom": "^19.0.0", "rimraf": "^3.0.2", "ts-jest": "^27.1.2", - "typescript": "^4.5.4", - "vite": "^2.7.7" + "typescript": "^4.5.4" } } -- cgit v1.2.3-54-g00ecf