Skip to content

Commit d5725ff

Browse files
authored
Merge pull request webpack#6316 from johnnyreilly/patch-1
Fix typo in NoModeWarning.js
2 parents 47f2601 + 761504d commit d5725ff

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

examples/dll-app-and-vendor/0-vendor/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ This is the vendor build part.
22

33
It's built separatly from the app part. The vendors dll is only built when vendors has changed and not while the normal development cycle.
44

5-
The DllPlugin in combination with the `output.library` option exposes the internal require function as global variable in the target enviroment.
5+
The DllPlugin in combination with the `output.library` option exposes the internal require function as global variable in the target environment.
66

77
A manifest is creates which includes mappings from module names to internal ids.
88

examples/dll-app-and-vendor/0-vendor/template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ This is the vendor build part.
22

33
It's built separatly from the app part. The vendors dll is only built when vendors has changed and not while the normal development cycle.
44

5-
The DllPlugin in combination with the `output.library` option exposes the internal require function as global variable in the target enviroment.
5+
The DllPlugin in combination with the `output.library` option exposes the internal require function as global variable in the target environment.
66

77
A manifest is creates which includes mappings from module names to internal ids.
88

lib/NoModeWarning.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = class NoModeWarning extends WebpackError {
1313
this.name = "NoModeWarning";
1414
this.message = "configuration\n" +
1515
"The 'mode' option has not been set. " +
16-
"Set 'mode' option to 'development' or 'production' to enable defaults for this enviroment. ";
16+
"Set 'mode' option to 'development' or 'production' to enable defaults for this environment. ";
1717

1818
Error.captureStackTrace(this, this.constructor);
1919
}

test/statsCases/no-emit-on-errors-plugin-with-child-error/expected.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Hash: 2e82f0bf277419f24e02
1+
Hash: 20df5b67d3d2e479d4ec
22
Time: Xms
33
Asset Size Chunks Chunk Names
44
child.js 2.6 KiB
@@ -7,7 +7,7 @@ Entrypoint main = bundle.js
77
[0] ./index.js 0 bytes {0} [built]
88

99
WARNING in configuration
10-
The 'mode' option has not been set. Set 'mode' option to 'development' or 'production' to enable defaults for this enviroment.
10+
The 'mode' option has not been set. Set 'mode' option to 'development' or 'production' to enable defaults for this environment.
1111
Child child:
1212
Asset Size Chunks Chunk Names
1313
child.js 2.6 KiB 0 child

0 commit comments

Comments
 (0)