From d3a0916817f8c0149abcf9728e18e935d3df1832 Mon Sep 17 00:00:00 2001 From: Boris Voropaev Date: Thu, 18 Jan 2024 12:31:27 +0300 Subject: [PATCH] gbu config --- angular.json | 127 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) diff --git a/angular.json b/angular.json index f1d216d..4b40b10 100644 --- a/angular.json +++ b/angular.json @@ -317,9 +317,133 @@ "node_modules/swiper/swiper-bundle.css" ], "index": "src/nir/index.html" + }, + + + + + + + "gbu": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true, + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/gbu.env.dev.ts" + }, + { + "replace": "src/app/_modules/layout/grid/grid.component.ts", + "with": "src/gbu/component/layout/grid/grid.component.ts" + }, + { + "replace": "src/app/_modules/layout/header/header.component.ts", + "with": "src/gbu/component/layout/header/header.component.ts" + }, + { + "replace": "src/app/_modules/layout/footer/footer.component.ts", + "with": "src/gbu/component/layout/footer/footer.component.ts" + }, + { + "replace": "src/app/_modules/layout/jumbotron/jumbotron.component.ts", + "with": "src/gbu/component/layout/jumbotron/jumbotron.component.ts" + }, + { + "replace": "src/app/_modules/pages/menu/slider-menu/slider-menu.component.ts", + "with": "src/gbu/component/pages/menu/slider-menu/slider-menu.component.ts" + } + ], + "inlineStyleLanguage": "scss", + "assets": [ + { + "glob": "**/*", + "input": "node_modules/tinymce", + "output": "/tinymce/" + }, + "src/favicon.ico", + { + "glob": "**/*", + "input": "src/gbu/", + "output": "/assets/" + } + ], + "stylePreprocessorOptions": { + "includePaths": [ + "src/gbu/css" + ] + }, + "styles": [ + "src/styles.scss", + "node_modules/swiper/swiper-bundle.css" + ], + "index": "src/gbu/index.html" + }, + + "gbu-prod": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true, + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/gbu.env.prod.ts" + }, + { + "replace": "src/app/_modules/layout/grid/grid.component.ts", + "with": "src/gbu/component/layout/grid/grid.component.ts" + }, + { + "replace": "src/app/_modules/layout/header/header.component.ts", + "with": "src/gbu/component/layout/header/header.component.ts" + }, + { + "replace": "src/app/_modules/layout/footer/footer.component.ts", + "with": "src/gbu/component/layout/footer/footer.component.ts" + }, + { + "replace": "src/app/_modules/layout/jumbotron/jumbotron.component.ts", + "with": "src/gbu/component/layout/jumbotron/jumbotron.component.ts" + }, + { + "replace": "src/app/_modules/pages/menu/slider-menu/slider-menu.component.ts", + "with": "src/gbu/component/pages/menu/slider-menu/slider-menu.component.ts" + } + ], + "inlineStyleLanguage": "scss", + "assets": [ + { + "glob": "**/*", + "input": "node_modules/tinymce", + "output": "/tinymce/" + }, + "src/favicon.ico", + { + "glob": "**/*", + "input": "src/gbu/", + "output": "/assets/" + } + ], + "stylePreprocessorOptions": { + "includePaths": [ + "src/gbu/css" + ] + }, + "styles": [ + "src/styles.scss", + "node_modules/swiper/swiper-bundle.css" + ], + "index": "src/gbu/index.html" } + }, "defaultConfiguration": "production" }, @@ -337,6 +461,9 @@ }, "nir": { "browserTarget": "front:build:nir" + }, + "gbu": { + "browserTarget": "front:build:gbu" } }, "defaultConfiguration": "development"