I've been using modularjs for a while now but I'm starting to get the error as per the title but can't seem to find a solution online. it happens when using the following code:
1 | import { module } from 'modujs';
2 |
> 3 | export default class extends module {
| ^
4 | constructor(m) {
5 | super(m);
6 |
I'm using Laravel-mix 6.0.6 for front end development and compiling. I have rolled this back to 5 where it has previously been okay but still received the above error.
I was wondering if someone could help or point me in the right direction.