From 9e1dcf1d6d18afffe7445cfdf52ae09bb855840d Mon Sep 17 00:00:00 2001 From: Gabriel Nogueira Date: Sat, 24 Sep 2022 17:55:27 -0300 Subject: [PATCH] :wrench: ajuste para build --- scripts/remove-styles-from-build.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/remove-styles-from-build.js b/scripts/remove-styles-from-build.js index 6f2ee8c..20384d9 100644 --- a/scripts/remove-styles-from-build.js +++ b/scripts/remove-styles-from-build.js @@ -5,5 +5,6 @@ fileContent = fs.readFileSync("angular.json"); const angularObject = JSON.parse(fileContent.toString()); console.log('Arquivo lido com sucesso'); delete angularObject.projects.lib.architect.build.options['styles']; +delete angularObject.projects.lib.architect.build.options['scripts']; fs.writeFileSync("angular.json", JSON.stringify(angularObject)); console.log('Alteração no angular.json finalizada');