This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
forked from vercel/next.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure externals are correct for mini-css-extract-plugin (vercel#25340)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
- Loading branch information
1 parent
e0559d9
commit f7f504e
Showing
13 changed files
with
1,241 additions
and
3 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
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 = { | ||
future: { | ||
webpack5: false, | ||
}, | ||
} |
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,27 @@ | ||
import styles from './Component2.module.scss' | ||
|
||
export default function Content2() { | ||
return ( | ||
<div className={styles.container}> | ||
<h1 className={styles.header}>Where does it come from?</h1> | ||
<div className={styles.textContent}> | ||
Contrary to popular belief, Lorem Ipsum is not simply random text. It | ||
has roots in a piece of classical Latin literature from 45 BC, making it | ||
over 2000 years old. Richard McClintock, a Latin professor at | ||
Hampden-Sydney College in Virginia, looked up one of the more obscure | ||
Latin words, consectetur, from a Lorem Ipsum passage, and going through | ||
the cites of the word in classical literature, discovered the | ||
undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 | ||
of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by | ||
Cicero, written in 45 BC. This book is a treatise on the theory of | ||
ethics, very popular during the Renaissance. The first line of Lorem | ||
Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section | ||
1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is | ||
reproduced below for those interested. Sections 1.10.32 and 1.10.33 from | ||
"de Finibus Bonorum et Malorum" by Cicero are also reproduced in their | ||
exact original form, accompanied by English versions from the 1914 | ||
translation by H. Rackham. | ||
</div> | ||
</div> | ||
) | ||
} |
13 changes: 13 additions & 0 deletions
13
test/integration/next-dynamic-css/src/Component2.module.scss
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,13 @@ | ||
.header { | ||
font-style: italic; | ||
} | ||
|
||
.container { | ||
background-color: #dddddd; | ||
padding: 1rem; | ||
} | ||
|
||
.textContent { | ||
color: #666; | ||
letter-spacing: -1px; | ||
} |
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,29 @@ | ||
import styles from './Content.module.css' | ||
import Content2 from './Component2' | ||
|
||
export default function Content() { | ||
return ( | ||
<div className={styles.container}> | ||
<h1 className={styles.header}>Where does it come from?</h1> | ||
<div className={styles.textContent}> | ||
Contrary to popular belief, Lorem Ipsum is not simply random text. It | ||
has roots in a piece of classical Latin literature from 45 BC, making it | ||
over 2000 years old. Richard McClintock, a Latin professor at | ||
Hampden-Sydney College in Virginia, looked up one of the more obscure | ||
Latin words, consectetur, from a Lorem Ipsum passage, and going through | ||
the cites of the word in classical literature, discovered the | ||
undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 | ||
of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by | ||
Cicero, written in 45 BC. This book is a treatise on the theory of | ||
ethics, very popular during the Renaissance. The first line of Lorem | ||
Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section | ||
1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is | ||
reproduced below for those interested. Sections 1.10.32 and 1.10.33 from | ||
"de Finibus Bonorum et Malorum" by Cicero are also reproduced in their | ||
exact original form, accompanied by English versions from the 1914 | ||
translation by H. Rackham. | ||
</div> | ||
<Content2 /> | ||
</div> | ||
) | ||
} |
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,13 @@ | ||
.header { | ||
font-style: italic; | ||
} | ||
|
||
.container { | ||
background-color: #dddddd; | ||
padding: 1rem; | ||
} | ||
|
||
.textContent { | ||
color: #666; | ||
letter-spacing: -1px; | ||
} |
Oops, something went wrong.