Skip to content

[bug]: 进行工程打包,文件路径问题 #80

Description

@woshiwhy

Summary

进行工程编译打包,出现jszip包文件路径问题。
[vite:load-fallback] Could not load D:\project\frontend\client\node_modules\jszip\lib\index.js/dist/jszip (imported by node_modules/epubjs/src/archive.js): ENOENT: no such file or directory, open 'D:\project\artu
s-ai-agent\frontend\client\node_modules\jszip\lib\index.js\dist\jszip'

Reproduction

执行 vite build命令

Environment

"@file-viewer/preset-all": "2.1.17",
"@file-viewer/react": "2.1.17",
"@file-viewer/vite-plugin": "2.1.17",
"vite-plugin-node-polyfills": "^0.23.0",
"vite": "^6.3.6",
"react": "^18.3.1",

Console or network errors


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions