Skip to content

Const declarations present in generated code #1144

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

Closed
2 tasks
cozmo8691 opened this issue Oct 12, 2017 · 1 comment
Closed
2 tasks

Const declarations present in generated code #1144

cozmo8691 opened this issue Oct 12, 2017 · 1 comment

Comments

@cozmo8691
Copy link

Please note that this template is not optional. If you proceed with this form,
please fill out all fields, or your issue may be closed as "invalid."
Please do not delete this template. Please ask questions on StackOverflow or the
webpack Gitter (https://gitter.im/webpack/webpack). General questions, how-to
questions, and support requests will be closed.

Please do remove this header to acknowledge this message.

  • Operating System: Windows 8.1
  • Node Version: v6.10.1
  • NPM Version: 4.0.3
  • webpack Version: 2.7.0
  • webpack-dev-server Version: 2.9.1
  • [x ] This is a bug
  • This is a feature request
  • This is a modification request

Code

barebones project here

Expected Behavior

When running webpack-dev-server code should be transpiled to run in older browsers.

Actual Behavior

When running webpack-dev-server the generated code contains 'const' declarations which are causing errors in older browsers e.g. Safari on Ipad Air.

For Bugs; How can we reproduce the behavior?

npm i
npm start

@shellscape
Copy link
Contributor

@cozmo8691 please do try a search before creating a new issue. I just closed an issue with the same exact report 42 minutes ago: #1143

Closing as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants