Skip to content

Commit b67ef01

Browse files
Kristie HowardTimer
Kristie Howard
authored andcommitted
Update unclear wording in webpack config docs (#3160)
1 parent 2cff8db commit b67ef01

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
@@ -220,7 +220,7 @@ module.exports = {
220220
// "file" loader makes sure those assets get served by WebpackDevServer.
221221
// When you `import` an asset, you get its (virtual) filename.
222222
// In production, they would get copied to the `build` folder.
223-
// This loader don't uses a "test" so it will catch all modules
223+
// This loader doesn't use a "test" so it will catch all modules
224224
// that fall through the other loaders.
225225
{
226226
// 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
@@ -238,7 +238,7 @@ module.exports = {
238238
},
239239
// "file" loader makes sure assets end up in the `build` folder.
240240
// When you `import` an asset, you get its filename.
241-
// This loader don't uses a "test" so it will catch all modules
241+
// This loader doesn't use a "test" so it will catch all modules
242242
// that fall through the other loaders.
243243
{
244244
loader: require.resolve('file-loader'),

0 commit comments

Comments
 (0)