originjs / vite-plugins

Other
172 stars 28 forks source link

运行 vite build 时打包错误 #7

Closed vxhly closed 3 years ago

vxhly commented 3 years ago

Versions

Additional Details

Steps to reproduce

require.context('codemirror/addon/fold', true, /^\.\/[\s\S]+\/*\.(js|css)$/)

在运行 vite build 的时候报错

image 解析出来的正则表达式不是完整的

What is Expected?

What is actually happening?

PeterAlfredLee commented 3 years ago

Hi @vxhly Thank you for your reporting. I fixed this and published a new version 1.0.7. Please have a look. <------------ 嗨 @vxhly 感谢您的报告。 我修复了这个问题并发布了一个新版本 1.0.7。 请看一看。

vxhly commented 3 years ago

已解决,谢谢作者