Skip to content

Commit

Permalink
Use allowedCommonJsDependencies to ignore only leaflet.
Browse files Browse the repository at this point in the history
  • Loading branch information
ianliuwk1019 committed Dec 27, 2024
1 parent fbb681d commit b9a7b27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions admin/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"allowedCommonJsDependencies": [
"leaflet"
],
"baseHref": "/admin/",
"outputPath": "dist/admin",
"index": "src/index.html",
Expand Down
3 changes: 3 additions & 0 deletions admin/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"target": "ES2022",
"module": "esnext",
"lib": [
"es2017",
"dom"
Expand Down

0 comments on commit b9a7b27

Please sign in to comment.