1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Chore: Fix pdf-viewer build

This commit is contained in:
Laurent Cozic 2022-10-12 15:43:56 +01:00
parent 7961acd06f
commit 6a0700e335
2 changed files with 7 additions and 1 deletions

View File

@ -39,7 +39,7 @@
"@fortawesome/fontawesome-svg-core": "^6.1.2",
"@fortawesome/free-solid-svg-icons": "^6.1.2",
"@fortawesome/react-fontawesome": "^0.2.0",
"@joplin/lib": "workspace:^",
"@joplin/lib": "~2.9",
"async-mutex": "^0.4.0",
"pdfjs-dist": "^2.14.305",
"react": "16.13.1",

View File

@ -21,6 +21,12 @@ module.exports = {
resolve: {
extensions: ['.tsx', '.ts', '.js'],
},
performance: {
// Disable warnings - "WARNING in entrypoint size limit: The following
// entrypoint(s) combined asset size exceeds the recommended limit (244
// KiB). This can impact web performance."
hints: false,
},
output: {
filename: '[name].js',
path: path.resolve(__dirname, 'dist'),