Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: translate docs/customization #354

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/docs/customization.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Custom Configuration
title: カスタム設定
overview: true
---

Sometimes you may find yourself in a situation where Gatsby's default configuration just isn't quite what you need for your site. If you should find yourself in this situation, have no fear my friend, you can customize Gatsby's config for `babel` and `webpack`. You can also customize `html.js`, the React component used to generate the initial HTML file of your build. You'll also find guides on how to get custom environment variables into your website, as well how to proxy API requests in development so your API calls aren't interpreted by your server as static assets.
Gatsby のデフォルトの設定では、サイトに必要なものとは大きく異なってくることがあるかもしれません。このような場合でも、 Gatsby の設定を `babel` `webpack` 用にカスタマイズできるので、心配する必要はありません。また、 React コンポーネントが HTML ファイルのビルド時に使っている `html.js` もカスタマイズできます。その上、Web サイトにカスタム環境変数を取り入れる方法や、呼び出した API がサーバーによってスタティックアセットとして解釈されないように開発中の API リクエストをプロキシする方法に関するガイドもあります。

<GuideList slug={props.slug} />