api changeenhancementhelp wanted
Repository metrics
- Stars
- (11,877 stars)
- PR merge metrics
- (Avg merge 18h) (1 merged PR in 30d)
Description
While upgrading to Angular 10, using PapaParse gives following warning message - WARNING in C:\parser.component.ts depends on papaparse. CommonJS or AMD dependencies can cause optimization bailouts.
This seems to be because PapaParse is CommonJS module dependency.
I am importing papaparse as follows -
import * as csvParser from 'papaparse';
and using it as -
csvParser.parse(file, {});
Can you help me with an ES6 module that I could use instead?