From 6aad0bb0c127b5416703ba9254ff2620f783ffbc Mon Sep 17 00:00:00 2001 From: Trung-Tin Pham <60747384+AtelyPham@users.noreply.github.com> Date: Sat, 27 Jul 2024 18:54:24 +0700 Subject: [PATCH] perf(repo): Disabled Unused Targets (#2462) --- apps/bridge-dapp/project.json | 48 ----------------------------------- apps/zk-explorer/project.json | 18 ------------- 2 files changed, 66 deletions(-) diff --git a/apps/bridge-dapp/project.json b/apps/bridge-dapp/project.json index 3177ea1c7d..eb7957660f 100644 --- a/apps/bridge-dapp/project.json +++ b/apps/bridge-dapp/project.json @@ -4,50 +4,6 @@ "sourceRoot": "apps/bridge-dapp/src", "projectType": "application", "targets": { - "build": { - "executor": "@nx/webpack:webpack", - "outputs": ["{options.outputPath}"], - "defaultConfiguration": "production", - "options": { - "outputPath": "dist/apps/bridge-dapp", - "compiler": "babel", - "index": "apps/bridge-dapp/src/public/index.html", - "baseHref": "/", - "main": "apps/bridge-dapp/src/index.tsx", - "tsConfig": "apps/bridge-dapp/tsconfig.app.json", - "assets": [ - "apps/bridge-dapp/src/public/favicon.png", - "apps/bridge-dapp/src/public/logo.png" - ], - "generateIndexHtml": false, - "scripts": [], - "postcssConfig": "apps/bridge-dapp/postcss.config.js", - "webpackConfig": "apps/bridge-dapp/webpack.dev.cjs" - }, - "configurations": { - "development": { - "extractLicenses": false, - "optimization": false, - "sourceMap": true, - "vendorChunk": true - }, - "production": { - "fileReplacements": [ - { - "replace": "apps/bridge-dapp/src/environments/environment.ts", - "with": "apps/bridge-dapp/src/environments/environment.prod.ts" - } - ], - "optimization": true, - "outputHashing": "all", - "sourceMap": false, - "namedChunks": false, - "extractLicenses": true, - "vendorChunk": false, - "webpackConfig": "apps/bridge-dapp/webpack.prod.cjs" - } - } - }, "serve": { "executor": "@nx/webpack:dev-server", "options": { @@ -61,10 +17,6 @@ } } }, - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"] - }, "test": { "executor": "@nx/jest:jest", "outputs": ["{workspaceRoot}/coverage/{projectRoot}"], diff --git a/apps/zk-explorer/project.json b/apps/zk-explorer/project.json index 6821e4e991..6a2d54c8de 100644 --- a/apps/zk-explorer/project.json +++ b/apps/zk-explorer/project.json @@ -4,20 +4,6 @@ "sourceRoot": "apps/zk-explorer", "projectType": "application", "targets": { - "build": { - "executor": "@nx/next:build", - "outputs": ["{options.outputPath}"], - "defaultConfiguration": "production", - "options": { - "outputPath": "dist/apps/zk-explorer" - }, - "configurations": { - "development": { - "outputPath": "apps/zk-explorer" - }, - "production": {} - } - }, "serve": { "executor": "@nx/next:server", "defaultConfiguration": "development", @@ -48,10 +34,6 @@ "options": { "jestConfig": "apps/zk-explorer/jest.config.ts" } - }, - "lint": { - "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"] } }, "tags": []