When I execute webpack watch in the VS2017 task runner, it displays the following error:
ERROR in ./wwwroot/js/src/App.vue
Module build failed: SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
...
The contents of the App.vue file are simple:
<template>
<div id="app">
<h1>XXX{{ sources.length }}</h1>
</div>
</template>
<script>
...
</script>
<style>
...
</style>
This code runs without errors on another computer, so I am unsure why this specific error is occurring. I lack expertise in webpack/vue/typescript and would appreciate any assistance as the current error message does not provide much insight.