rsnext/packages/next/build/webpack/loaders
Alex Castle 277061943a
Don't emit duplicate image files (#26843)
fixes #26607

This change makes it so the image loader plugin only emits a file while processing an image import for the client. The final generated image URL was already the same in SSR and CSR anyway, so this change doesn't have any functional impact.

I also changed the name of the static page in the image component tests, since it was causing some conflicts with the static assets folder.
2021-07-02 11:27:32 +00:00
..
babel-loader Telemetry-compatible tracing (#22713) 2021-03-10 21:00:20 +00:00
next-serverless-loader Make sure 404 pages do not get cached by a CDN when using next start (#24983) 2021-07-02 10:40:13 +02:00
next-style-loader Fix IE11 incompatibility due to string litterals (#23784) 2021-04-15 16:34:52 +00:00
emit-file-loader.js feat: Webpack loader inlining (#21127) 2021-01-15 01:51:45 +00:00
error-loader.ts feat: Webpack loader inlining (#21127) 2021-01-15 01:51:45 +00:00
next-babel-loader.js Move code shared between server/client to "shared" folder (#26734) 2021-06-30 11:43:31 +02:00
next-client-pages-loader.ts Telemetry-compatible tracing (#22713) 2021-03-10 21:00:20 +00:00
next-image-loader.js Don't emit duplicate image files (#26843) 2021-07-02 11:27:32 +00:00
noop-loader.ts feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00