Skip to content

Build does not work in IE11, .js files don't get transpiled #1990

Closed
@kouts

Description

@kouts
  • I confirm that this is an issue rather than a question.

Bug report

Vuepress site does not work on IE11, console throws syntax and invalid character errors.
By examining the generated .js files it seems that they don't get transpiled for IE11, e.g there are
still arrow functions present etc.

Steps to reproduce

You can reproduce it with a default Vuepress installation
and you can also view it here
Check for example files generated inside the js dir

What is expected?

Vuepress to be compatible with IE11

What is actually happening?

Vuepress is not compatible with IE11, js files don't get transpiled.

Other relevant information

  • Output of npx vuepress info in my VuePress project:
    System:
    OS: Linux 3.16 Debian GNU/Linux 8 (jessie) 8 (jessie)
    CPU: (2) x64 Intel(R) Core(TM) i7-4712MQ CPU @ 2.30GHz
    Binaries:
    Node: 9.11.2 - ~/.nvm/versions/node/v9.11.2/bin/node
    Yarn: Not Found
    npm: 5.6.0 - ~/.nvm/versions/node/v9.11.2/bin/npm
    Browsers:
    Chrome: Not Found
    Firefox: Not Found
    npmPackages:
    @vuepress/core: 1.2.0
    @vuepress/theme-default: 1.2.0
    vuepress: ^1.2.0 => 1.2.0
    npmGlobalPackages:
    vuepress: Not Found

Metadata

Metadata

Assignees

No one assigned

    Labels

    has PRHas a related PRtype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions