Skip to content

Commit

Permalink
Add allowed CommonJS dependencies for ApexCharts and DayJS.
Browse files Browse the repository at this point in the history
  • Loading branch information
EliasAfara committed Nov 8, 2023
1 parent 6003282 commit 18ad397
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions client/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,16 @@
"@angular/material/prebuilt-themes/indigo-pink.css",
"src/styles.css"
],
"scripts": ["node_modules/apexcharts/dist/apexcharts.min.js"]
"scripts": ["node_modules/apexcharts/dist/apexcharts.min.js"],
"allowedCommonJsDependencies": ["apexcharts", "dayjs"]
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
"maximumWarning": "4mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
Expand Down
4 changes: 2 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "client",
"version": "0.0.0",
"version": "1.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand Down Expand Up @@ -43,4 +43,4 @@
"karma-jasmine-html-reporter": "~2.1.0",
"typescript": "~5.1.3"
}
}
}

0 comments on commit 18ad397

Please sign in to comment.