为什么这个 webpack 导出会出错?

huangapple go评论75阅读模式
英文:

Why does this webpack export mess up?

问题

Webpack导出变成了webpack_exports_.d.e.f.a.u.l.t

这是怎么可能的?
我已经尝试过调整npm和node版本,确保不是那个问题。
我认为这可能与babel或类似工具有关。

编辑:仅手动取消选择babel并仅使用eslint时不会发生这种情况。

如果需要任何额外的项目/配置文件,请告诉我。
这是使用vue-cli创建的Vue3项目。

> vue create appname
( ...vue3,默认配置,无手动选择 )
> npm run serve

英文:

Webpack export turns into webpack_exports_.d.e.f.a.u.l.t

How is this possible?
I have tried messing around with npm and node versions to make sure its not that.
I think it has got something to do with babel or similiar.

Edit: doesn't happen when manually deselecting babel and only using eslint

Please let me know if you require any additional Project/Config files.
It is a fresh with vue-cli created Vue3 Project.

> vue create appname
( ...vue3, default config no manual selection )
> npm run serve

为什么这个 webpack 导出会出错?

答案1

得分: 1

The issue was most likely related to github.com/webpack/webpack/issues/17213

I created a new app now after seeing they implemented a patch and it works again.

英文:

The issue was most likely related to github.com/webpack/webpack/issues/17213

I created a new app now after seeing they implemented a patch and it works again.

huangapple
  • 本文由 发表于 2023年5月18日 04:12:26
  • 转载请务必保留本文链接:https://go.coder-hub.com/76275885.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定