From 99a554947b1023525f961b8b6850c99a997b2300 Mon Sep 17 00:00:00 2001 From: Boris Voropaev Date: Wed, 17 Jan 2024 16:06:59 +0300 Subject: [PATCH] angular json --- angular.json | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/angular.json b/angular.json index 9188414..f1d216d 100644 --- a/angular.json +++ b/angular.json @@ -257,7 +257,69 @@ "node_modules/swiper/swiper-bundle.css" ], "index": "src/nir/index.html" + }, + + + "nir-prod": { + "buildOptimizer": false, + "optimization": false, + "vendorChunk": true, + "extractLicenses": false, + "sourceMap": true, + "namedChunks": true, + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/nir.env.prod.ts" + }, + { + "replace": "src/app/_modules/layout/grid/grid.component.ts", + "with": "src/nir/component/layout/grid/grid.component.ts" + }, + { + "replace": "src/app/_modules/layout/header/header.component.ts", + "with": "src/nir/component/layout/header/header.component.ts" + }, + { + "replace": "src/app/_modules/layout/footer/footer.component.ts", + "with": "src/nir/component/layout/footer/footer.component.ts" + }, + { + "replace": "src/app/_modules/layout/jumbotron/jumbotron.component.ts", + "with": "src/nir/component/layout/jumbotron/jumbotron.component.ts" + }, + { + "replace": "src/app/_modules/pages/menu/slider-menu/slider-menu.component.ts", + "with": "src/nir/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/nir/", + "output": "/assets/" + } + ], + "stylePreprocessorOptions": { + "includePaths": [ + "src/nir/css" + ] + }, + "styles": [ + "src/styles.scss", + "node_modules/swiper/swiper-bundle.css" + ], + "index": "src/nir/index.html" } + + }, "defaultConfiguration": "production" },