-
Notifications
You must be signed in to change notification settings - Fork 683
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
www: Online tutorial: safari inspec online demo bug! #1086
Comments
javascript in Safari (and others) crashes on const declarations. See #1086
'const declarations are not supported in strict mode' |
with babel loader and babel preset es2015, I set the webpack config to have:
in the Builds fine in chrome/firefox, but doesn't seem to be translating the const into var as expected with babel, so still same problem in safari. I'll keep on digging into it/trying... |
this is the branch: dr/www/es-const haven't figured it out yet. still trying.. |
https://github.com/chef/inspec/tree/vj/babelify-scripts <-- doing babel in gulpfile works to get rid of the const...but things are still not building correctly :( |
No description provided.
The text was updated successfully, but these errors were encountered: