나는 에 부딪치고 있다.SyntaxError: Cannot use import statement outside a module
vue 2 / joke 유닛 테스트를 실행하려고 할 때 오류가 발생했습니다.이것을 jest.config에 추가했는데도 오류가 발생하였습니다.ckeditor가 내부적으로 코드를 Import하려고 하는 것 같습니다만, 장난이 번져도 잡히지 않습니다.
import { Editor, DataApiMixin, ElementApiMixin, attachToForm } from 'ckeditor5/src/core';
transformIgnorePatterns: [ '\\/node_modules\\/(?!@ckeditor).+\.(js jsx ts tsx vue)$'],
나는 이 솔루션과 비슷한 것을 시도해 보았지만 소용이 없었다.