Xiang Gao

Results 9 comments of Xiang Gao
trafficstars

It's a matter of your own rules.

Try this? ```js plugins: [ eslint({ exclude: './shared/**', emitWarning: false, emitError: false, }), ], ```

这提示写的很清楚了额,你那个 demo 确实是标签漏了一个斜杠报错

> > > This problem only happens when you first time execute vite with eslint errors. > > > > > > Good observation! But this is per module, right?...

It should work fine now.

Now exports correctly according to different environments.

Update to the latest version will not emit error.

我复制了你的规则,触发警告,并没有溢出,然而把你的那个组件代码复制过去就崩了😂,感觉是代码问题至于是因为什么没有深入探索。