File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,7 @@ contributors:
12
12
13
13
Webpack 是需要传入一个配置对象。取决于你如何使用 webpack,可以通过两种方式之一:终端或 Node.js。下面指定了所有可用的配置选项。
14
14
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 ) 开始学习吧!
17
16
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 ) 。
18
17
19
18
## 选项
@@ -407,4 +406,4 @@ var path = require('path');
407
406
408
407
***
409
408
410
- > 原文:https://webpack.js.org/configuration/
409
+ > 原文:https://webpack.js.org/configuration/
You can’t perform that action at this time.
0 commit comments