Skip to content

Commit

Permalink
fix: warnings when npm run build:demo (#1651)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeMorier committed Jul 13, 2021
1 parent dbf0061 commit 994f509
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
1 change: 0 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
Expand Down
16 changes: 14 additions & 2 deletions projects/swimlane/ngx-charts/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,19 @@
"$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
"dest": "../../../dist/swimlane/ngx-charts",
"lib": {
"entryFile": "src/public-api.ts"
"entryFile": "src/public-api.ts",
"umdModuleIds": {
"d3-array": "d3-array",
"d3-brush": "d3-brush",
"d3-color": "d3-color",
"d3-format": "d3-format",
"d3-hierarchy": "d3-hierarchy",
"d3-interpolate": "d3-interpolate",
"d3-scale": "d3-scale",
"d3-selection": "d3-selection",
"d3-shape": "d3-shape",
"d3-time-format": "d3-time-format"
}
},
"whitelistedNonPeerDependencies": ["d3"]
"allowedNonPeerDependencies": ["d3"]
}

0 comments on commit 994f509

Please sign in to comment.