mholt/PapaParse

ES6 module for PapaParse

Open

#813 opened on Jun 30, 2020

View on GitHub
 (7 comments) (22 reactions) (0 assignees)JavaScript (1,157 forks)batch import
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?

Contributor guide