angular.json optimize

allowedCommonJsDependencies & maximumWarning
This commit is contained in:
shimingxy 2025-07-31 16:52:26 +08:00
parent be50ee875b
commit f53a6b5eee
2 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@
"assets": ["src/assets", "src/favicon.ico"],
"styles": ["src/styles.less"],
"scripts": [],
"allowedCommonJsDependencies": ["ajv", "ajv-formats"],
"allowedCommonJsDependencies": ["ajv", "ajv-formats","crypto-js"],
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
@ -48,7 +48,7 @@
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumWarning": "4mb",
"maximumError": "6mb"
},
{

View File

@ -29,7 +29,7 @@
"assets": ["src/assets", "src/favicon.ico"],
"styles": ["src/styles.less"],
"scripts": [],
"allowedCommonJsDependencies": ["ajv", "ajv-formats"],
"allowedCommonJsDependencies": ["ajv", "ajv-formats","crypto-js"],
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
@ -48,7 +48,7 @@
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumWarning": "4mb",
"maximumError": "6mb"
},
{