Skip to content

IE10 syntax error, const not transpiled in ES5 #109

@maksimyurkov

Description

@maksimyurkov

Versions

  • nuxt v2.14.7
  • node v14.15.0
  • npm 6.14.8
  • IE10 (emulator in IE11)
  • Windows 10 (x64)

Reproduction

Default Nuxt application

npx create-nuxt-app my-app

Options

  • NPM
  • Single Page App
  • Static
  • Other options = Default

Steps to reproduce

npm run dev

What is Expected?

Correct work in Internet Explorer 10

What is actually happening?

Page not working. Syntax Error, 'const' not transpiled.
Мy colleagues (with other system configurations) have the same problem.

image

P.S. In nuxt.config.js when i set "components": false, all working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions