tiny-editor icon indicating copy to clipboard operation
tiny-editor copied to clipboard

🐛 [Bug]: webpack 5 编译报错,无法使用

Open szwss opened this issue 3 months ago • 3 comments

Version

4.0-alpha.2

Link to minimal reproduction

***.vue 中引入

import TinyEditor from '@opentiny/fluent-editor';
import '@opentiny/fluent-editor/style.css'; // 引入样式

webpack 5 编译时报错

Can't resolve 'quill/themes/base' in '**/es/modules/link/modules' 

Step to reproduce

import TinyEditor from '@opentiny/fluent-editor'; import '@opentiny/fluent-editor/style.css'; // 引入样式

webpack 5 编译时报错

What is expected

***.vue 中引入

import TinyEditor from '@opentiny/fluent-editor';
import '@opentiny/fluent-editor/style.css'; // 引入样式

webpack 5 编译时报错

Can't resolve 'quill/themes/base' in '**/es/modules/link/modules' 

What is actually happening

No response

What is your project name

cws

Any additional comments (optional)

No response

szwss avatar Sep 08 '25 03:09 szwss

Image

我用了 版本3 安装后也是这样的报错

szwss avatar Sep 08 '25 03:09 szwss

原版 quill 2.0.3 正常

szwss avatar Sep 08 '25 03:09 szwss

@kagol @zzcr @kiss-keray @GaoNeng-wWw

szwss avatar Sep 08 '25 03:09 szwss