mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-10-29 09:07:30 +08:00
fix (pdf): js based pdfviewer as fallback
This commit is contained in:
@ -73,8 +73,8 @@ const config = {
|
||||
{ from: "assets/fonts/*" },
|
||||
], { context: path.join(__dirname, "client") }),
|
||||
new CopyWebpackPlugin([
|
||||
{ from: "node_modules/pdfjs-dist/build/*.js", to: "assets/vendor/pdfjs/2.6.347/build/" },
|
||||
{ from: "node_modules/pdfjs-dist/cmaps/", to: "assets/vendor/pdfjs/2.6.347/cmaps/" },
|
||||
{ from: "node_modules/pdfjs-dist/build/*.js", to: "assets/vendor/" },
|
||||
{ from: "node_modules/pdfjs-dist/cmaps/*", to: "assets/vendor/" },
|
||||
]),
|
||||
// new BundleAnalyzerPlugin()
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user