@@ -36,7 +36,7 @@ var path = require('path');
36
36
// and webpack starts bundling
37
37
38
38
[output](/configuration/output): {
39
- // options related how webpack emits results
39
+ // options related to how webpack emits results
40
40
41
41
[path](/configuration/output#output-path): path.resolve(__dirname, "dist"), // string
42
42
// the target directory for all output files
@@ -131,8 +131,8 @@ var path = require('path');
131
131
[exclude](/configuration/module#rule-exclude): [
132
132
path.resolve(__dirname, "app/demo-files")
133
133
]
134
- // matching conditions, each accepting regular expression or string
135
- // test and include behave equal , both must be matched
134
+ // these are matching conditions, each accepting a regular expression or string
135
+ // test and include have the same behavior , both must be matched
136
136
// exclude must not be matched (takes preferrence over test and include)
137
137
// Best practices:
138
138
// - Use RegExp only in test and for filename matching
@@ -144,10 +144,10 @@ var path = require('path');
144
144
145
145
[enforce](/configuration/module#rule-enforce): "pre",
146
146
[enforce](/configuration/module#rule-enforce): "post",
147
- // apply these rule even if rules are overridden (advanced option)
147
+ // flags to apply these rules, even if they are overridden (advanced option)
148
148
149
149
[loader](/configuration/module#rule-loader): "babel-loader",
150
- // the loader which should be applied, it'll be resolve relative to the context
150
+ // the loader which should be applied, it'll be resolved relative to the context
151
151
// -loader suffix is no longer optional in Webpack 2 for clarity reasons
152
152
// see [webpack 1 upgrade guide](/guides/migrating)
153
153
0 commit comments