Skip to content

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

@szwss

Description

@szwss

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions