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');