File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,14 @@ module.exports = {
23
23
' * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.' ,
24
24
' * For licensing, see LICENSE.md.' ,
25
25
' */'
26
- ] } ] ,
26
+ ]
27
+ } ] ,
28
+ 'ckeditor5-rules/require-file-extensions-in-imports' : [
29
+ 'error' ,
30
+ {
31
+ extensions : [ '.ts' , '.js' , '.json' ]
32
+ }
33
+ ] ,
27
34
'ckeditor5-rules/prevent-license-key-leak' : 'error' ,
28
35
'vue/multi-word-component-names' : 'off' ,
29
36
'no-unused-vars' : 'off' ,
Original file line number Diff line number Diff line change 38
38
39
39
<script setup lang="ts">
40
40
import { ref , reactive , computed } from ' vue' ;
41
- import useCKEditorCloud from ' ../../src/useCKEditorCloud' ;
41
+ import useCKEditorCloud from ' ../../src/useCKEditorCloud.js ' ;
42
42
import type { EventInfo , ClassicEditor } from ' https://cdn.ckeditor.com/typings/ckeditor5.d.ts' ;
43
43
44
44
// Load CKEditor from the CDN
Original file line number Diff line number Diff line change 2
2
"compilerOptions" : {
3
3
"target" : " ES2019" ,
4
4
"useDefineForClassFields" : true ,
5
- "module" : " NodeNext " ,
5
+ "module" : " ESNext " ,
6
6
"lib" : [
7
7
" ES2019" , // Must match the "target"
8
8
" ES2020.String" ,
11
11
],
12
12
"skipLibCheck" : true ,
13
13
14
- "moduleResolution" : " NodeNext" ,
14
+ /* Bundler mode */
15
+ "moduleResolution" : " bundler" ,
15
16
"isolatedModules" : true ,
16
17
"moduleDetection" : " force" ,
17
18
You can’t perform that action at this time.
0 commit comments