Update unclear wording in webpack config docs (#3160)

This commit is contained in:
Kristie Howard
2017-09-19 19:00:44 -07:00
committed by Joe Haddad
parent 2cff8db00b
commit b67ef01ade
2 changed files with 2 additions and 2 deletions

View File

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

View File

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