search.js:12 Uncaught SyntaxError: "Unexpected token 'export'" after compiling in gulp code example
Example: Unexpected token 'export'
class MyClass1 {
}
class MyClass2 {
}
module.exports = { MyClass1, MyClass2 }
class MyClass1 {
}
class MyClass2 {
}
module.exports = { MyClass1, MyClass2 }