Vanessa219 / vditor

♏ 一款浏览器端的 Markdown 编辑器,支持所见即所得(富文本)、即时渲染(类似 Typora)和分屏预览模式。An In-browser Markdown editor, support WYSIWYG (Rich Text), Instant Rendering (Typora-like) and Split View modes.
https://b3log.org/vditor
MIT License
8.25k stars 852 forks source link

初始化的时候, 在main.js引入less文件编译错误 #1587

Closed f2511571150 closed 5 months ago

f2511571150 commented 5 months ago

描述问题

引入less文件的时候解析错误: image 我的vite版本: 4.4.5 引入: 在main.js文件引入的index.less image

期待的结果

能够编译成功

版本信息

Vanessa219 commented 5 months ago

vditor less 的打包代码参见 https://github.com/Vanessa219/vditor/blob/8ede475d8cbcc65305487ae27b9bc15e94e12193/webpack.config.js#L120

可对照进行修改。