#1768·requirejs

Error: Parse error using esprima for file

Author: ArshSoniCreated Jan 18, 2019Updated Sep 22, 2024

Using r.js optimiser with ES6 syntax (with requirejs v2.3.6) fails and produces the following error:

Unexpected token ...

I've tried to update all dependencies but having the same problem