Skip to content

Commit f53a6b5

Browse files
committed
angular.json optimize
allowedCommonJsDependencies & maximumWarning
1 parent be50ee8 commit f53a6b5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

maxkey-web-frontend/maxkey-web-app/angular.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"assets": ["src/assets", "src/favicon.ico"],
3030
"styles": ["src/styles.less"],
3131
"scripts": [],
32-
"allowedCommonJsDependencies": ["ajv", "ajv-formats"],
32+
"allowedCommonJsDependencies": ["ajv", "ajv-formats","crypto-js"],
3333
"stylePreprocessorOptions": {
3434
"includePaths": [
3535
"node_modules/"
@@ -48,7 +48,7 @@
4848
"budgets": [
4949
{
5050
"type": "initial",
51-
"maximumWarning": "2mb",
51+
"maximumWarning": "4mb",
5252
"maximumError": "6mb"
5353
},
5454
{

maxkey-web-frontend/maxkey-web-mgt-app/angular.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"assets": ["src/assets", "src/favicon.ico"],
3030
"styles": ["src/styles.less"],
3131
"scripts": [],
32-
"allowedCommonJsDependencies": ["ajv", "ajv-formats"],
32+
"allowedCommonJsDependencies": ["ajv", "ajv-formats","crypto-js"],
3333
"stylePreprocessorOptions": {
3434
"includePaths": [
3535
"node_modules/"
@@ -48,7 +48,7 @@
4848
"budgets": [
4949
{
5050
"type": "initial",
51-
"maximumWarning": "2mb",
51+
"maximumWarning": "4mb",
5252
"maximumError": "6mb"
5353
},
5454
{

0 commit comments

Comments
 (0)