Skip to content

ES6 module for PapaParse #813

@aishwaryasharma14

Description

@aishwaryasharma14

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions