arobase-che / remark-attr

Remark plugin to add support for custom attributes
Other
58 stars 16 forks source link

There is a bug #3

Closed Michael18811380328 closed 4 years ago

Michael18811380328 commented 6 years ago

Hello, when I use your Remark-attr I found an issue: let eaten = oldParser.call(self, eat, value, silent); can't work well during build (using webpack tool in React). The error is —— call can't use. BTW, I found your codes in github are different with npm(for instance, index.js). Which is the latest version? Thank you!

arobase-che commented 6 years ago

Hi, :smile:

They is some commits since the last version (which is on npm). I'm suppose to make a new version this WE.

I don't really understand your issue. Can you explain a little more ?

Michael18811380328 commented 6 years ago

Ok, there is the issue.

At first, I use remark-attr in my project by npm install remark-attr, then there is a problem that no adequate leader. I can't fix the bug.

So I try to use index.js and write user-config by myself (it is same to default config). The project can use in chrome. But when I build it using webpack, the code let eaten = oldParser.call(self, eat, value, silent); can't be built.

arobase-che commented 5 years ago

Hummm ... Can you try with the new version 0.7.1 please ?

Michael18811380328 commented 5 years ago

OK, I will try the new version 0.7.1 in my project as soon as possible and contact you later. Thank you!