Closed
Description
Attach (recommended) or Link to PDF file
app crashes if using package in safari

Web browser and its version
safari v16
Operating system and its version
macos
PDF.js version
5.3.93"
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
import in file:
import * as PDFJS from 'pdfjs-dist'
import * as PdfWorker from 'pdfjs-dist/legacy/build/pdf.worker.mjs'
webpack:
{
test: /.js$/,
exclude: [
/node_modules/(?!(@tiptap|)/).*/,
/.test.js$/,
'/test/',
'/public/'
],
use: {
loader: 'babel-loader'
}
}
babel-loader v9
What is the expected behavior?
app working as it should as it does in all other browsers
What went wrong?
it crashes
Link to a viewer
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels