Closed mahovsson closed 6 months ago
I don't see you using required plugin for Vite (now in alpha)
npm install --save @ckeditor/vite-plugin-ckeditor5
export default defineConfig( {
/* ... */
plugins: [
ckeditor5( { theme: require.resolve( '@ckeditor/ckeditor5-theme-lark' ) } )
]
/* ... */
}
Pointing to the #15502 which will make this mature enough to not use the current version of a plugin.
I don't see you using required plugin for Vite (now in alpha)
npm install --save @ckeditor/vite-plugin-ckeditor5
export default defineConfig( { /* ... */ plugins: [ ckeditor5( { theme: require.resolve( '@ckeditor/ckeditor5-theme-lark' ) } ) ] /* ... */ }
Pointing to the #15502 which will make this mature enough to not use the current version of a plugin.
Sorry I added my vite config file which looks same as your proposition. @Witoso is there anything else I could do besides skipping failing tests ?
So I added inline: [/@ckeditor\/.*/i, /ckeditor5\/.*/i]
, to vitest config instead and the test are passing, but I get:
Hello I have today migrated to 41.3.0 and I get same error as in (#16075) :
App is build on Vue3 + Vite + Ruby
āļø Expected result
Unit test pass successfully
ā Actual result
TypeError: Unknown file extension ".css" for /node_modules/@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css.
š Other details
I tried suggestion from linked task , but still does not help any suggestions how to proceed?
Package.json
vite config:
Originally posted by @mahovsson in https://github.com/ckeditor/ckeditor5/issues/ #16075#issuecomment-2048460337