Skip to content

Commit

Permalink
Fix examples/webpack/README.md. The .mjs extension is necessary. Close
Browse files Browse the repository at this point in the history
  • Loading branch information
tamuratak committed Nov 23, 2023
1 parent 83f0029 commit 786ca47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/webpack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ If you are getting the `Setting up fake worker` warning, make sure you are
importing `pdfjs-dist/webpack` which is the zero-configuration method for
Webpack users. Installing `worker-loader` is no longer necessary.

import * as pdfjsLib from 'pdfjs-dist/webpack';
import * as pdfjsLib from 'pdfjs-dist/webpack.mjs';

0 comments on commit 786ca47

Please sign in to comment.