Akryum / Akryum/vue-cli-plugin-ssr

client/index.js not transpiling

Offen
#83 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
441
Forks
69
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I'm seeing an error on IE11 when building the app:

`SCRIPT1010: Expected identifier`

The line causing the error seems to be the first line of the `client/index.js` file, specifically pointing to the object destructing, so I'm assuming it means Babel isn't transpiling this file? Is there something I need to add to my configuration file to resolve this?
https://github.com/Akryum/vue-cli-plugin-ssr/blob/734681cf06846da847ab5009d8ce95dbeef0dba3/client/index.js#L1

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.