-
Notifications
You must be signed in to change notification settings - Fork 58
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
Crashes UglifyJS #43
Comments
Are you using the browser build? Browser build is not transpiled as of now. |
I have a PR coming that seems to work for me. I'd like to see if it works for you. |
Fixed in |
@zentuit I am experiencing this same error as you but with |
@zmiKaminski You can use the browser build like this: var attrs = require('markdown-it-attrs/markdown-it-attrs.browser.js') The browser build does not contain any ES2015. |
We're using the latest package in a project and during the uglify build step, UglifyJS crashes because of index.js. Seems that built index.js still has
let
instead ofvar
.Specifically this line in
index.js
is causing the error:The text was updated successfully, but these errors were encountered: