This repository was archived by the owner on Aug 9, 2021. It is now read-only.

Description
Version information:
node: 16.0.0
qode: 14.17.0
yarn: 1.22.4
npm: 7.10.0

reproduction steps:
- set your package.json to have
"type": "module"
test.js
import { QMainWindow } from '@nodegui/nodegui';
import('./imported.js').then(console.log).catch(console.log);
imported.js
qode test.js
And you will get no output. However, if you remove line 1 from test.js, suddenly everything works as intended. Swapping the order also is seemingly irrelevant, the error persists whether i try to do the dynamic load first or not. Even when attempting to use top level await to force the dynamic import to happen before the static import.