When you import without curly braces, you are trying to import the default module object.
So you should add a defaultkeyword to your Coreexport:
export default class Core {
constructor(scene) {
}
}
OR put your Coreimport in braces:
import { Core } from 'gameUnits/Core';
Look here for more information on ECMAScript 6 modules
PS. default, Core. :
import GameUnitsCore from 'gameUnits/Core';