You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/get-started/install-webpack.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,42 +9,42 @@ sort: 1
9
9
10
10
### 预备知识
11
11
12
-
Before getting started, make sure you have a fresh version of [Node.js](https://nodejs.org/en/)installed. The current LTS is an ideal starting point. You may run into a variety of issues with the older versions as they may be missing functionality webpack or related packages might need.
However, this is not a recommended practice. This locks you down to a specific version of webpack and might fail in projects that use a different version. The next section tells you how to install webpack locally in a project.
If you are using npm scripts in your project, npm will try to look for webpack installation in your local modules for which this installation technique is useful.
T> To run the local installation of webpack you can access its bin version as`node_modules/.bin/webpack`
42
+
T> 要运行本地安装的 webpack,你可以访问其 bin 版本为`node_modules/.bin/webpack`
43
43
44
44
45
-
### Bleeding Edge
45
+
### 前沿领域
46
46
47
-
If you are enthusiastic about using the latest that webpack has to offer (beware - may be unstable), you can install directly from the webpack repository using
0 commit comments