diff --git a/apps/client/project.json b/apps/client/project.json index 56369275e..0c59bf0e0 100644 --- a/apps/client/project.json +++ b/apps/client/project.json @@ -10,46 +10,6 @@ "sourceRoot": "apps/client/src", "prefix": "gf", "targets": { - "copy-assets": { - "executor": "nx:run-commands", - "options": { - "commands": [ - { - "command": "mkdir -p dist/apps/client" - }, - { - "command": "cp -r apps/client/src/assets dist/apps/client" - }, - { - "command": "cp -r apps/client/src/assets/.well-known dist/apps/client" - }, - { - "command": "cp apps/client/src/assets/favicon.ico dist/apps/client" - }, - { - "command": "cp apps/client/src/assets/robots.txt dist/apps/client" - }, - { - "command": "cp apps/client/src/assets/site.webmanifest dist/apps/client" - }, - { - "command": "cp node_modules/ionicons/dist/index.js dist/apps/client" - }, - { - "command": "cp node_modules/ionicons/dist/ionicons.js dist/apps/client" - }, - { - "command": "cp -r node_modules/ionicons/dist/ionicons dist/apps/client/ionicons" - }, - { - "command": "cp CHANGELOG.md dist/apps/client/assets" - }, - { - "command": "cp LICENSE dist/apps/client/assets" - } - ] - } - }, "build": { "executor": "@nx/angular:webpack-browser", "options": { @@ -134,6 +94,46 @@ "outputs": ["{options.outputPath}"], "defaultConfiguration": "" }, + "copy-assets": { + "executor": "nx:run-commands", + "options": { + "commands": [ + { + "command": "mkdir -p dist/apps/client" + }, + { + "command": "cp -r apps/client/src/assets dist/apps/client" + }, + { + "command": "cp -r apps/client/src/assets/.well-known dist/apps/client" + }, + { + "command": "cp apps/client/src/assets/favicon.ico dist/apps/client" + }, + { + "command": "cp apps/client/src/assets/robots.txt dist/apps/client" + }, + { + "command": "cp apps/client/src/assets/site.webmanifest dist/apps/client" + }, + { + "command": "cp node_modules/ionicons/dist/index.js dist/apps/client" + }, + { + "command": "cp node_modules/ionicons/dist/ionicons.js dist/apps/client" + }, + { + "command": "cp -r node_modules/ionicons/dist/ionicons dist/apps/client/ionicons" + }, + { + "command": "cp CHANGELOG.md dist/apps/client/assets" + }, + { + "command": "cp LICENSE dist/apps/client/assets" + } + ] + } + }, "serve": { "executor": "@nx/angular:webpack-dev-server", "options": {