angular-csv-ext icon indicating copy to clipboard operation
angular-csv-ext copied to clipboard

Uncaught ReferenceError: exports is not defined at Angular-csv.js:2 / Angular 8.2.3

Open derrobin opened this issue 5 years ago • 0 comments

Hi Everyone,

I use this library with angular-8.2.3 and this is working fine, but i get this script-error on app bootstrapping:

Uncaught ReferenceError: exports is not defined at Angular-csv.js:2

I was importing this Library over angular.json:

{
  "projects": {
    ..
    "architect": {
      ..
      "build": {
        ..
        "scripts": [
          ..
          "node_modules/angular-csv-ext/dist/Angular-csv.js"
        ]
      }
    }
  }
}

Did not found a easy solution for that until now :-(

Any recommendations?

Thanks, Robin

derrobin avatar Oct 11 '19 10:10 derrobin