Skip to content

docs(en): merge webpack.js.org/master into webpack.js.org/cn @ 54a882f1 #1640

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

Closed
wants to merge 30 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
77af75a
build(deps-dev): bump markdownlint from 0.26.0 to 0.26.1 (#6294)
dependabot[bot] Jul 26, 2022
261eb5a
build(deps-dev): bump markdownlint-cli from 0.32.0 to 0.32.1 (#6298)
dependabot[bot] Jul 26, 2022
6d08f78
build(deps-dev): bump webpack from 5.73.0 to 5.74.0 (#6299)
dependabot[bot] Jul 26, 2022
ff684da
build(deps): bump react-spring from 9.5.1 to 9.5.2 (#6295)
dependabot[bot] Jul 26, 2022
2cb2f38
build(deps-dev): bump sass from 1.53.0 to 1.54.0 (#6296)
dependabot[bot] Jul 26, 2022
92a1564
chore: run `yarn-deduplicate --strategy fewer` for fewer acorn versio…
JounQin Jul 26, 2022
7666871
chore: ensure to run yarn-deduplicate with fewer strategy (#6301)
JounQin Jul 27, 2022
9a96b9d
build(deps): bump workbox-window from 6.5.3 to 6.5.4 (#6302)
dependabot[bot] Jul 29, 2022
7db74c8
build(deps-dev): bump workbox-webpack-plugin from 6.5.3 to 6.5.4 (#6303)
dependabot[bot] Jul 29, 2022
2b2d523
build(deps-dev): bump tailwindcss from 3.1.6 to 3.1.7 (#6304)
dependabot[bot] Jul 30, 2022
21e94ff
build(deps-dev): bump autoprefixer from 10.4.7 to 10.4.8 (#6305)
dependabot[bot] Jul 30, 2022
04019a7
build(deps-dev): bump eslint from 8.20.0 to 8.21.0 (#6309)
dependabot[bot] Aug 2, 2022
51473c7
build(deps-dev): bump @parcel/css from 1.12.0 to 1.12.2 (#6306)
dependabot[bot] Aug 2, 2022
d4ed5b7
build(deps-dev): bump node-fetch from 3.2.9 to 3.2.10 (#6307)
dependabot[bot] Aug 2, 2022
0dd19bc
build(deps-dev): bump @babel/core from 7.18.9 to 7.18.10 (#6308)
dependabot[bot] Aug 2, 2022
4042c65
build(deps-dev): bump @babel/preset-env from 7.18.9 to 7.18.10 (#6310)
dependabot[bot] Aug 2, 2022
297431a
build(deps-dev): bump cypress from 10.3.1 to 10.4.0 (#6312)
dependabot[bot] Aug 3, 2022
8fd56ee
docs(guides): Update broken link to PWA resource (#6313)
apettenati Aug 4, 2022
5a25da1
build(deps-dev): bump sass from 1.54.0 to 1.54.1 (#6314)
dependabot[bot] Aug 4, 2022
5e524df
build(deps-dev): bump sass from 1.54.1 to 1.54.2 (#6315)
dependabot[bot] Aug 5, 2022
0a882d9
build(deps-dev): bump tailwindcss from 3.1.7 to 3.1.8 (#6317)
dependabot[bot] Aug 6, 2022
cb03b86
build(deps-dev): bump sass from 1.54.2 to 1.54.3 (#6318)
dependabot[bot] Aug 6, 2022
b355406
docs(configuraExplain the externals string syntax specifying external…
tanhauhau Aug 8, 2022
94b1541
build(deps-dev): bump postcss from 8.4.14 to 8.4.16 (#6323)
dependabot[bot] Aug 9, 2022
7046bee
docs(Configurations): explain default value of output.chunkFormat and…
tanhauhau Aug 10, 2022
bf9cba0
build(deps-dev): bump markdownlint from 0.26.1 to 0.26.2 (#6325)
dependabot[bot] Aug 11, 2022
7654960
build(deps-dev): bump sass from 1.54.3 to 1.54.4 (#6326)
dependabot[bot] Aug 11, 2022
1b51d39
build(deps-dev): bump webpack-dev-server from 4.9.3 to 4.10.0 (#6327)
dependabot[bot] Aug 11, 2022
54a882f
docs(Configuration): Update path to invalidate (#6324)
andrzej-erli Aug 12, 2022
72b0cf5
docs(en): merging all conflicts
docschina-bot Aug 12, 2022
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
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"prettier": "prettier --write '**/*.{js,json,jsx,css,scss,md,mdx}'",
"prepare": "husky install",
"postinstall": "rimraf ./node_modules/.cache/webpack"
"prepare": "husky install && rimraf ./node_modules/.cache/webpack && yarn-deduplicate --strategy fewer"
},
"lint-staged": {
"*.{js,jsx,md,mdx}": [
Expand All @@ -74,30 +73,30 @@
]
},
"devDependencies": {
"@babel/core": "^7.18.9",
"@babel/core": "^7.18.10",
"@babel/eslint-parser": "^7.18.9",
"@babel/plugin-proposal-class-properties": "^7.17.12",
"@babel/preset-env": "^7.18.9",
"@babel/preset-env": "^7.18.10",
"@babel/preset-react": "^7.18.6",
"@mdx-js/loader": "^2.0.0-next.9",
"@octokit/auth-action": "^2.0.0",
"@octokit/rest": "^19.0.3",
"@parcel/css": "^1.12.0",
"@parcel/css": "^1.12.2",
"@pmmmwh/react-refresh-webpack-plugin": "next",
"@svgr/webpack": "^6.3.1",
"autoprefixer": "^10.4.7",
"autoprefixer": "^10.4.8",
"babel-loader": "^8.2.5",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^4.0.0",
"cypress": "^10.3.1",
"cypress": "^10.4.0",
"directory-tree": "^3.3.0",
"directory-tree-webpack-plugin": "^1.0.3",
"duplexer": "^0.1.1",
"eslint": "^8.20.0",
"eslint": "^8.21.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-mdx": "^2.0.1",
"eslint-plugin-mdx": "^2.0.2",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"front-matter": "^4.0.2",
Expand All @@ -110,15 +109,15 @@
"jest": "^28.1.3",
"lint-staged": "^13.0.3",
"lodash": "^4.17.21",
"markdownlint": "^0.26.0",
"markdownlint-cli": "^0.32.0",
"markdownlint": "^0.26.2",
"markdownlint-cli": "^0.32.1",
"mdast-util-to-string": "^3.1.0",
"mini-css-extract-plugin": "^2.6.1",
"mkdirp": "^1.0.4",
"modularscale-sass": "^3.0.3",
"node-fetch": "^3.2.9",
"node-fetch": "^3.2.10",
"npm-run-all": "^4.1.1",
"postcss": "^8.4.14",
"postcss": "^8.4.16",
"postcss-loader": "^7.0.1",
"prettier": "^2.7.1",
"react-refresh": "^0.14.0",
Expand All @@ -132,23 +131,24 @@
"remark-html": "^15.0.1",
"remark-refractor": "montogeek/remark-refractor",
"rimraf": "^3.0.2",
"sass": "^1.53.0",
"sass": "^1.54.4",
"sass-loader": "^13.0.2",
"sirv-cli": "^2.0.2",
"sitemap-static": "^0.4.2",
"static-site-generator-webpack-plugin": "^3.4.1",
"style-loader": "^3.3.1",
"tailwindcss": "^3.1.6",
"tailwindcss": "^3.1.8",
"tap-spot": "^1.1.2",
"textlint": "^11.8.2",
"textlint-rule-heading": "^1.0.10",
"unist-util-visit": "^4.1.0",
"webpack": "^5.73.0",
"webpack": "^5.74.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.9.3",
"webpack-dev-server": "^4.10.0",
"webpack-merge": "^5.8.0",
"workbox-webpack-plugin": "^6.5.3"
"workbox-webpack-plugin": "^6.5.4",
"yarn-deduplicate": "^5.0.0"
},
"dependencies": {
"@docsearch/react": "^3.0.0-alpha.50",
Expand All @@ -158,13 +158,13 @@
"react-dom": "^17.0.2",
"react-helmet-async": "^1.3.0",
"react-router-dom": "^6.3.0",
"react-spring": "^9.5.1",
"react-spring": "^9.5.2",
"react-tiny-popover": "5",
"react-use": "^17.4.0",
"react-visibility-sensor": "^5.0.2",
"webpack-pwa-manifest": "^4.3.0",
"webpack.vote": "https://github.com/webpack/voting-app.git",
"workbox-window": "^6.5.3"
"workbox-window": "^6.5.4"
},
"resolutions": {
"sitemap-static/minimist": "1.2.5",
Expand Down
4 changes: 4 additions & 0 deletions src/content/configuration/dev-server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ W> 请注意,当[导出多个配置对象](/configuration/configuration-types/

T> 如果你碰到了问题,请将路由导航至 `/webpack-dev-server` 将会为你展示服务文件的位置。例如: `http://localhost:9000/webpack-dev-server`。

<<<<<<< HEAD
T> 如果你需要要手动重新编译 `bundle`,将路由导航至 `/invalidate` 使当前编译的 `bundle` [无效](/api/node/#invalidate-watching),并通过 [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware#invalidate) 为你重新编译。根据你的配置,URL 可能看起来像 `http://localhost:9000/invalidate`。
=======
T> If you want to manually recompile the bundle, navigating to the `/webpack-dev-server/invalidate` route will [invalidate](/api/node/#invalidate-watching) the current compilation of the bundle and recompile it for you via [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware#invalidate). Depending on your configuration, the URL may look like `http://localhost:9000/webpack-dev-server/invalidate`.
>>>>>>> 54a882f1fd6b884c523fbf22702c40d4eb26f171

T> 当启动本地服务的时候 HTML 模板是必须提供的,通常是 `index.html`。确保将脚本引用添加到 HTML 中,webpack-dev-server 不会自动注入它们。

Expand Down
Loading