[Bug]: webpack报错找不到模块 unplugin-tailwindcss-mangle/dist/core/loader.cjs
#141
Labels
bug
Something isn't working
version
v4.0.6
Link to minimal reproduction
https://www.npmjs.com/package/unplugin-tailwindcss-mangle/v/4.0.6?activeTab=code
Steps to reproduce
报错消息如下
查找这里提到的core/loader.cjs,发现路径在该文件中定义
tailwindcss-mangle/packages/unplugin-tailwindcss-mangle/src/core/factory.ts
Line 10 in 226156b
在查找了以前的npm包的内容之后,发现至少到v3.0.1,该文件都还是存在的。
版本进入到v4.0.0之后,整个
core/
文件夹都不在dist/
中了,这是正常的现象吗。如果v4.0.0之后确实移除了该文件,怎么会在webpack的loader中使用它?tailwindcss-mangle/packages/unplugin-tailwindcss-mangle/src/core/factory.ts
Lines 63 to 70 in 226156b
What is expected?
安装的包中应该带有
dist/core/loader.cjs
What is actually happening?
在v4.0.0之后就没有
dist/core/loader.cjs
了,既然有引用该路径,该文件应该存在System Info
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: