No description
Find a file
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
.github Update repo scripts to separate folder (#26787) 2021-07-01 13:41:27 +02:00
.vscode Remove bugfix needed for webpack 4 when webpack 5 is used (#23886) 2021-04-11 15:06:35 +00:00
bench Replace 'require' with 'import' in bench files and update dependancies (#25775) 2021-06-04 14:30:52 +00:00
docs Update to environment-variable.md (#26863) 2021-07-02 10:35:53 +00:00
errors chore: Enable Alex documentation linting for error pages (#26526) 2021-06-23 23:33:58 -05:00
examples Fix using-preact example deps (#26821) 2021-07-01 20:20:20 +00:00
packages Don't emit duplicate image files (#26843) 2021-07-02 11:27:32 +00:00
scripts Update repo scripts to separate folder (#26787) 2021-07-01 13:41:27 +02:00
test Don't emit duplicate image files (#26843) 2021-07-02 11:27:32 +00:00
.alexignore Enable Alex documentation linting for docs (#26598) 2021-06-25 11:40:50 -05:00
.alexrc Enable Alex documentation linting for docs (#26598) 2021-06-25 11:40:50 -05:00
.eslintignore feat(create-next-app): add --ts, --typescript support (#24655) 2021-05-07 10:08:16 +02:00
.eslintrc.json Upgrade eslint to the latest version (#24377) 2021-04-25 18:34:36 +00:00
.gitignore Ignore emacs lockfiles (#20497) 2020-12-29 16:12:36 +00:00
.npmrc Remove version prefix 2018-10-02 01:35:56 +02:00
.prettierignore feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00
.prettierignore_staged feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00
.prettierrc.json Prettier trailingComma default value to es5 since 2.0 (#14391) 2020-06-22 13:25:24 +02:00
azure-pipelines.yml Update azure tests (#26779) 2021-06-30 17:03:43 -05:00
CODE_OF_CONDUCT.md Update Code of Conduct email address (#12108) 2020-04-22 16:27:24 +02:00
contributing.md Update publish-canary script to include checkout (#26840) 2021-07-01 17:19:14 -05:00
data.sqlite Fix export worker threads options (#25063) 2021-05-14 12:50:29 +02:00
jest.config.js Upgrade jest-worker (#23077) 2021-03-16 21:08:35 +00:00
lerna.json v11.0.2-canary.4 2021-07-01 17:45:55 -05:00
license.md Update license year for all packages 2021-01-11 11:12:19 +01:00
lint-staged.config.js Replace CLIEngine with ESLint (#25801) 2021-06-09 13:54:10 +02:00
package.json Update publish-canary script to include checkout (#26840) 2021-07-01 17:19:14 -05:00
readme.md Monorepo (#5341) 2018-10-01 01:02:10 +02:00
release.js Match last PR mention in commit message for release notes 2021-05-07 19:53:38 +02:00
run-tests.js Run acceptance tests non-concurrently (#25861) 2021-06-07 20:57:15 +02:00
SECURITY.md Create SECURITY.md 2020-07-13 19:25:08 +02:00
skip-docs-change.js Update repo scripts to separate folder (#26787) 2021-07-01 13:41:27 +02:00
test-file.txt Add additional file serving tests (#12479) 2020-05-04 11:58:19 -05:00
UPGRADING.md Move upgrading guide to /docs (#10727) 2020-02-28 23:46:18 +01:00
vercel.json Silence GH Comments for Preview URLs (#18766) 2020-11-03 21:59:47 +00:00
yarn.lock Support new hydrate API in latest react 18 alpha release (#26664) 2021-06-30 17:03:32 +02:00

Next.js

Getting Started

Visit https://nextjs.org/learn to get started with Next.js.

Documentation

Visit https://nextjs.org/docs to view the full documentation.

Who is using Next.js?

Next.js is used by the world's leading companies. Check out the Next.js Showcase to learn more.

Community

The Next.js community can be found on GitHub Discussions, where you can ask questions, voice ideas, and share your projects.

To chat with other community members you can join the Next.js Discord.

Our Code of Conduct applies to all Next.js community channels.

Contributing

Please see our contributing.md.

Good First Issues

We have a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.

Authors