-
Notifications
You must be signed in to change notification settings - Fork 27k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'canary' into feat/strictPostcssConfiguration
- Loading branch information
Showing
66 changed files
with
450 additions
and
425 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Cannot output to /static | ||
|
||
#### Why This Error Occurred | ||
|
||
Either you set `distDir` to `static` in your `next.config.js` or during `next export` you tried to export to the `static` directory. | ||
|
||
This is not allowed due to `static` being a special folder in Next.js used to serve static assets. | ||
|
||
#### Possible Ways to Fix It | ||
|
||
Use a different `distDir` or export to a different folder. | ||
|
||
### Useful Links | ||
|
||
- [Static file serving docs](https://nextjs.org/docs/basic-features/static-file-serving) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
images: { | ||
domains: ['media.graphcms.com'], | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,3 @@ | ||
export default function App({ children }) { | ||
return ( | ||
<main> | ||
{children} | ||
<style jsx global>{` | ||
* { | ||
font-family: Menlo, Monaco, 'Lucida Console', 'Liberation Mono', | ||
'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', | ||
monospace, serif; | ||
} | ||
body { | ||
margin: 0; | ||
padding: 25px 50px; | ||
} | ||
a { | ||
color: #22bad9; | ||
} | ||
p { | ||
font-size: 14px; | ||
line-height: 24px; | ||
} | ||
article { | ||
margin: 0 auto; | ||
max-width: 650px; | ||
} | ||
button { | ||
align-items: center; | ||
background-color: #22bad9; | ||
border: 0; | ||
color: white; | ||
display: flex; | ||
padding: 5px 7px; | ||
} | ||
button:active { | ||
background-color: #1b9db7; | ||
transition: background-color 0.3s; | ||
} | ||
button:focus { | ||
outline: none; | ||
} | ||
`}</style> | ||
</main> | ||
) | ||
return <main>{children}</main> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.