diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-10 16:14:49 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-10 16:21:20 +0100 |
| commit | 843d2ee67487c489095066dca1ad902deb8a4344 (patch) | |
| tree | eed9dcaef4a4e407a9442607f21ec62d22f4e942 /next.config.js | |
| parent | 62afb57ff3e7b6516b0d3d39c88ed29a1468bd3a (diff) | |
build(webpack): allow PDF import
Diffstat (limited to 'next.config.js')
| -rw-r--r-- | next.config.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/next.config.js b/next.config.js index 55c852a..25db587 100644 --- a/next.config.js +++ b/next.config.js @@ -23,6 +23,10 @@ const nextConfig = { webpack: (config) => { config.module.rules.push( { + test: /\.pdf/, + type: 'asset', + }, + { test: /\.po/, use: ['@lingui/loader'], }, |
