evansmwendwa / ng2-daterangepicker

Usage Demos update in this url >>>
https://codesandbox.io/s/6yr1zm18w3
MIT License
132 stars 89 forks source link

explicitly setting "sideEffects" property in package.json #140

Closed jaydiablo closed 4 years ago

jaydiablo commented 4 years ago

This fixes #139

Apparently if you set the "sideEffects" property in the project's package.json file, Angular CLI will respect that when building the project. I ran ng build ng2-daterangepicker after making this change and it output this in the generated package.json file:

"sideEffects": [
    "*.css"
  ],