Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

svg_core local define func confused rjs parser #14461

Closed
3cp opened this issue Jan 3, 2019 · 6 comments
Closed

svg_core local define func confused rjs parser #14461

3cp opened this issue Jan 3, 2019 · 6 comments
Assignees
Milestone

Comments

@3cp
Copy link

3cp commented Jan 3, 2019

This call to local define func.

It confused rjs parser which thinks it's a named AMD module definition. aurelia/cli#1013 (comment)

I know this is technically a rjs parser bug, but do you think it's a good idea to rename the internal define func to something like _define?

@tagliala
Copy link
Member

tagliala commented Jan 4, 2019

Hi!

Thanks for being part of the Font Awesome Community.

Well, it makes sense.

Let's see what @robmadole thinks about this

@robmadole
Copy link
Member

Yeah this is an easy fix. That function is private so changing it is a find/replace. Should be released in 5.7.0.

@3cp
Copy link
Author

3cp commented Jan 4, 2019

Thx very much!

@3cp
Copy link
Author

3cp commented Jan 4, 2019

Note this should be fixed in both umd (index.js) and esm build (index.es.js).

@robmadole
Copy link
Member

Yep, we use Rollup.js to generate both of those from the same source file. They'll both be fixed. :)

This was referenced Jan 29, 2019
This was referenced Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants