Skip to content

Commit d91caf0

Browse files
Kristie Howardkasperpeulen
Kristie Howard
authored andcommitted
Update unclear wording in webpack config docs (facebook#3160)
1 parent 43fcb35 commit d91caf0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-scripts/config/webpack.config.dev.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ module.exports = {
227227
// "file" loader makes sure those assets get served by WebpackDevServer.
228228
// When you `import` an asset, you get its (virtual) filename.
229229
// In production, they would get copied to the `build` folder.
230-
// This loader don't uses a "test" so it will catch all modules
230+
// This loader doesn't use a "test" so it will catch all modules
231231
// that fall through the other loaders.
232232
{
233233
// Exclude `js` files to keep "css" loader working as it injects

packages/react-scripts/config/webpack.config.prod.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ module.exports = {
245245
},
246246
// "file" loader makes sure assets end up in the `build` folder.
247247
// When you `import` an asset, you get its filename.
248-
// This loader don't uses a "test" so it will catch all modules
248+
// This loader doesn't use a "test" so it will catch all modules
249249
// that fall through the other loaders.
250250
{
251251
loader: require.resolve('file-loader'),

0 commit comments

Comments
 (0)