nuxt-community / auth-module

Zero-boilerplate authentication support for Nuxt 2
https://auth.nuxtjs.org
MIT License
1.93k stars 924 forks source link

IE11 Transpile Syntax error #1733

Open kevindaizj opened 2 years ago

kevindaizj commented 2 years ago

Version

module: 5.0.0-1648802546.c9880dc nuxt: 2.15.8

Nuxt configuration

mode:

Nuxt configuration

  modules: [
    '@nuxtjs/auth-next'
  ],

  build: {
    transpile: ['auth-next', 'requrl'],
  }

Reproduction

minimal reproduction

What is expected?

What is actually happening?

IE11: SCRIPT1002 Syntax error

Steps to reproduce

  1. create project with npx create-nuxt-app
  2. install and config @nuxtjs/auth-next
  3. open localhost:3000 with IE11
  4. SCRIPT1002: Syntax Error occurs

Additional information

Checklist

Steps to reproduce

What is expected?

What is actually happening?

Performance analysis?