-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
migrate md to mdx #5233
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
Merged
Merged
migrate md to mdx #5233
Changes from 53 commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
5e13721
rename vote.md to vote.mdx
chenxsan c88538e
rename license.md to license.mdx
chenxsan f4b5b81
rename glossary.md to glossary.mdx
chenxsan c2fa1b7
rename comparison.md to .mdx
chenxsan ae98454
Merge branch 'master' into feature/migrate-md-to-mdx
chenxsan f4d5798
Merge branch 'master' into feature/migrate-md-to-mdx
chenxsan c72b803
rename html-webpack-plugin.md
chenxsan 7bfee6d
rename automatic-prefetch-plugin.md
chenxsan 42b094f
rename banner-plugin.md
chenxsan aaa66b0
rename commons-chunk-plugin.md
chenxsan 37e126b
rename context-exclusion-plugin.md
chenxsan a0fbbe9
rename context-replacement-plugin.md
chenxsan faaa010
rename dll-plugin.md
chenxsan 38ae652
rename environment-plugin.md
chenxsan abaeb43
rename eval-source-map-dev-tool-plugin.md
chenxsan 965c7e5
rename hashed-module-ids-plugin.md
chenxsan 6062305
rename hot-module-replacement-plugin.md
chenxsan eaf4b68
rename ignore-plugin.md
chenxsan 5888c1a
rename index.md
chenxsan b11ba1c
rename limit-chunk-count-plugin.md
chenxsan 7008e96
rename module-concatenation-plugin.md
chenxsan 33003da
rename module-concatenation-plugin.md
chenxsan 8060514
rename NoEmitOnErrorsPlugin.md
chenxsan f79e722
rename normal-module-replacement-plugin.md
chenxsan 1f723f7
rename prefetch-plugin.md
chenxsan 23875a7
rename profiling-plugin.md
chenxsan 6adddcf
rename progress-plugin.md
chenxsan b536ee1
rename provide-plugin.md
chenxsan e7dbf83
rename source-map-dev-tool-plugin.md
chenxsan 8cdcec2
rename split-chunks-plugin.md
chenxsan 23ecedd
rename watch-ignore-plugin.md
chenxsan 8be2b3d
rename 3.md and fix whitespaces
chenxsan 76346fa
rename 4.md
chenxsan 5f7f6cc
rename 5.md
chenxsan b2d47e4
rename index.md
chenxsan 943ae1c
rename blogs
chenxsan 1bebaef
rename api
chenxsan f0cebea
rename concepts
chenxsan 5f8bc1a
fix proselint
chenxsan 90887dd
rename why-webpack.md
chenxsan 5c72fff
rename configuration
chenxsan 2daec81
rename contribute
chenxsan f43ac57
rename guides
chenxsan 2f58c58
rename branding.md
chenxsan 4abb3a8
Revert "rename branding.md"
chenxsan d256dc3
rename printable.md
chenxsan 20799a8
Revert "rename printable.md"
chenxsan 194e266
rename index.md
chenxsan 45a2281
Revert "Revert "rename branding.md""
chenxsan ed7f6f3
extract style
chenxsan 9a7a3ea
Revert "Revert "rename printable.md""
chenxsan 68aaf84
Revert "Revert "Revert "rename printable.md"""
chenxsan 8f5c388
Merge branch 'master' into feature/migrate-md-to-mdx
chenxsan e33d611
Update src/content/concepts/configuration.mdx
chenxsan c108658
Merge branch 'master' into feature/migrate-md-to-mdx
chenxsan d14f38a
Merge branch 'master' into feature/migrate-md-to-mdx
chenxsan 72506b1
rename to mdx
chenxsan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,7 @@ | ||
import PropTypes from 'prop-types'; | ||
BrandingSample.propTypes = { | ||
color: PropTypes.string.isRequired, | ||
}; | ||
export default function BrandingSample({ color }) { | ||
return <div style={{ backgroundColor: color }}> </div>; | ||
} |
This file contains hidden or 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 hidden or 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 hidden or 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,7 @@ | ||
**src/index.js** | ||
|
||
```js | ||
import bar from './bar.js'; | ||
|
||
bar(); | ||
``` |
This file contains hidden or 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,7 @@ | ||
**src/bar.js** | ||
|
||
```js | ||
export default function bar() { | ||
// | ||
} | ||
``` |
This file contains hidden or 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 @@ | ||
**[Without config](https://youtu.be/3Nv9muOkb6k?t=21293)** or provide custom **webpack.config.js** | ||
|
||
```js | ||
const path = require('path'); | ||
|
||
module.exports = { | ||
entry: './src/index.js', | ||
output: { | ||
path: path.resolve(__dirname, 'dist'), | ||
filename: 'bundle.js', | ||
}, | ||
}; | ||
``` |
This file contains hidden or 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 @@ | ||
**page.html** | ||
|
||
```html | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
... | ||
</head> | ||
<body> | ||
... | ||
<script src="dist/bundle.js"></script> | ||
</body> | ||
</html> | ||
``` |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or 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.
File renamed without changes.
This file contains hidden or 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 contains hidden or 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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or 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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or 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 |
---|---|---|
|
@@ -13,9 +13,18 @@ contributors: | |
The people who contribute to webpack do so for the love of open source, our users and ecosystem, and most importantly, pushing the web forward together. Because of our [Open Collective](https://opencollective.com/webpack) model for funding and transparency, we are able to funnel support and funds through contributors, dependent projects, and the contributor and core teams. To make a donation, click the button below... | ||
|
||
<div align="center"> | ||
<a href="https://opencollective.com/webpack/donate" target="_blank"> | ||
<img src="https://opencollective.com/webpack/donate/[email protected]?color=blue" width=300 /> | ||
</a> | ||
|
||
<a | ||
href="https://opencollective.com/webpack/donate" | ||
target="_blank" | ||
rel="noopenner noreferrer" | ||
> | ||
<img | ||
src="https://opencollective.com/webpack/donate/[email protected]?color=blue" | ||
width={300} | ||
/> | ||
</a> | ||
|
||
</div> | ||
|
||
But what is the return on the investment? | ||
|
@@ -52,8 +61,6 @@ The remainder of this section of the site is dedicated to developers such as you | |
|
||
CTO's, VPs, and owners can help too! | ||
|
||
<!-- add slides here regarding monetary value/dev time/tooling --> | ||
|
||
webpack is an all-in-one tool for bundling your code. It can handle fonts, images, data and more with the help of community-driven plugins and loaders. Having all of your assets be handled by one tool is immensely helpful, as you or your team can spend less time making sure a machine with many moving parts is working correctly and more time building your product. | ||
|
||
### Sponsorship | ||
|
@@ -69,8 +76,6 @@ You can also encourage your developers to contribute to the ecosystem by open-so | |
|
||
To anyone else who is interested in helping our mission – e.g. venture capitalists, government entities, digital agencies, etc. – we would love for you to work with us, one of the top npm packages, to improve your product! Please don't hesitate to reach out with questions. | ||
|
||
<!-- add slides here --> | ||
|
||
## Pull requests | ||
|
||
Documentation of webpack features and changes is now being updated as webpack evolves. An automated issue creation integration was established and proven to be effective in the recent years. | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or 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.
File renamed without changes.
File renamed without changes.
This file contains hidden or 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 hidden or 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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.