Posts by Daniel • 126 points
1 post
-
1
votes2
answers336
viewsA: I’m having import and export problems using ES6
The error is because you are importing main.js together with Bundle.js. main.js contains the uncompleted code, hence the error: Uncaught Syntaxerror: Unexpected token { Just remove the main.js.…