Skip to content

Commit 7338b1b

Browse files
Merge pull request webpack#91 from dyygtfx/patch-1
Update index.md
2 parents 0253d9c + 3dd3cba commit 7338b1b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

content/configuration/index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ contributors:
1212

1313
Webpack 是需要传入一个配置对象。取决于你如何使用 webpack,可以通过两种方式之一:终端或 Node.js。下面指定了所有可用的配置选项。
1414

15-
T> New to webpack? Check out our guide to some of webpack's [core concepts](/concepts) to get started!
16-
15+
T> 刚接触 webpack?请查看我们提供的指南,从 webpack 一些[核心概念](/concepts)开始学习吧!
1716
T> 注意整个配置中我们使用 Node 内置的 [path 模块](https://nodejs.org/api/path.html),并在它前面加上 [__dirname](https://nodejs.org/docs/latest/api/globals.html#globals_dirname)这个全局变量。可以防止不同操作系统之间的文件路径问题,并且可以使相对路径按照预期工作。更多「POSIX 和 Windows」的相关信息请查看[此章节](https://nodejs.org/api/path.html#path_windows_vs_posix)
1817

1918
## 选项
@@ -407,4 +406,4 @@ var path = require('path');
407406

408407
***
409408

410-
> 原文:https://webpack.js.org/configuration/
409+
> 原文:https://webpack.js.org/configuration/

0 commit comments

Comments
 (0)