I am using the
prosemirror-test-builder dependency to execute Prosemirror tests in an Angular 9 app (through the
ng test my_frontend_app --configuration=my_config angular CLI command, which uses webpack behind the scenes). This used to work well until I upgraded to the 1.0.2 version, which raises the following error:
Can't import the named export 'Schema' from non EcmaScript module (only default export is available)
multiple times (replace ‘Schema’ by ‘Node’ or other).
Going back to 1.0.1 fixes the problem. I there a way I can workraround this?