Skip to content

Uncaught SyntaxError: Unexpected token ; #506

@volkanunsal

Description

@volkanunsal

When I include this library from a webpack project,

import jsPDF from 'jsPDF';

Which imports jspdf.min.js

I get this error at the following line:

var o = t.parseBackgroundSize(e, n.image, r),
      s = t.parseBackgroundPosition(e, n.image, r, o),
      a = t.parseBackgroundRepeat(r);

I don't see the error here. Can anyone help me figure out why it's happening?

btw, I cannot use the jspdf.debug.js either because there are a ton of errors in it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions