The best way to build a modern backend + admin UI. No black magic, all TypeScript, and fully open-source, Payload is both an app framework and a headless CMS.
`./node_modules/.pnpm/@payloadcms+ui@3.0.0-beta.56_monaco-editor@0.38.0next@15.0.0-rc.0@babel+core@7.24.7_react-d_6btuzme2v3pjqg2bytl3nrltfa/node_modules/@payloadcms/ui/dist/assets/payload-favicon.svg
Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
Link to reproduction
No response
Payload Version
v3@beta.56
Node Version
20
Next.js Version
15
Describe the Bug
Use SVGR with webpack as described here https://blog.logrocket.com/import-svgs-next-js-apps/#import-svgs-next-js-using-svgr
Running dev or build fails
`./node_modules/.pnpm/@payloadcms+ui@3.0.0-beta.56_monaco-editor@0.38.0next@15.0.0-rc.0@babel+core@7.24.7_react-d_6btuzme2v3pjqg2bytl3nrltfa/node_modules/@payloadcms/ui/dist/assets/payload-favicon.svg Module parse failed: Unexpected token (1:0) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders