Im bundling together the following files contents:
a.js:
class BaseC { doIt(){ console.log(this); } } class A extends BaseC{ }
Try exporting the class from a.js: export class BaseC { ...
export class BaseC { ...
and importing it into b.js: import {BaseC} from './a.js' ...
import {BaseC} from './a.js' ...