mholt/PapaParse

ES6 module for PapaParse

Aperta

#813 aperta il 30 giu 2020

 (7 commenti) (22 reazioni) (0 assegnatari)JavaScript (1185 fork)batch import
api changeenhancementhelp wanted

Metriche repository

Star
 (13.546 stelle)
Metriche merge PR
 (Merge medio 18h) (1 PR mergiata in 30 g)

Descrizione

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?

Guida contributor