diff --git a/bin/config-optimist.js b/bin/config-optimist.js index 1a8cd9fb6e0..5ea07ee14e2 100644 --- a/bin/config-optimist.js +++ b/bin/config-optimist.js @@ -2,7 +2,7 @@ module.exports = function(optimist) { optimist .boolean("help").alias("help", "h").alias("help", "?").describe("help") .string("config").describe("config", "Path to the config file") - .string("env").describe("env", "Enviroment passed to the config, when it is a function") + .string("env").describe("env", "Environment passed to the config, when it is a function") .string("context").describe("context", "The root directory for resolving entry point and stats") .string("entry").describe("entry", "The entry point") .string("module-bind").describe("module-bind", "Bind an extension to a loader") @@ -21,7 +21,7 @@ module.exports = function(optimist) { .string("records-output-path").describe("records-output-path", "Path to the records file (writing)") .string("records-path").describe("records-path", "Path to the records file") .string("define").describe("define", "Define any free var in the bundle") - .string("target").describe("target", "The targeted execution enviroment") + .string("target").describe("target", "The targeted execution environment") .boolean("cache").describe("cache", "Enable in memory caching").default("cache", true) .boolean("watch").alias("watch", "w").describe("watch", "Watch the filesystem for changes") .boolean("watch-stdin").alias("watch-stdin", "stdin").describe("Exit the process when stdin is closed") diff --git a/bin/config-yargs.js b/bin/config-yargs.js index b8391562e37..a3f7e0c3e09 100644 --- a/bin/config-yargs.js +++ b/bin/config-yargs.js @@ -21,7 +21,7 @@ module.exports = function(yargs) { requiresArg: true }, "env": { - describe: "Enviroment passed to the config, when it is a function", + describe: "Environment passed to the config, when it is a function", group: CONFIG_GROUP }, "context": { @@ -137,7 +137,7 @@ module.exports = function(yargs) { }, "target": { type: "string", - describe: "The targeted execution enviroment", + describe: "The targeted execution environment", group: ADVANCED_GROUP, requiresArg: true }, diff --git a/examples/multi-part-library/README.md b/examples/multi-part-library/README.md index d3d86234dbd..2b6bfeeeadd 100644 --- a/examples/multi-part-library/README.md +++ b/examples/multi-part-library/README.md @@ -6,7 +6,7 @@ We are using multiple entry points (`entry` option) to build every part of the l We are using the `libraryTarget` option to generate a UMD ([Universal Module Definition](https://github.com/umdjs/umd)) module that is consumable in CommonsJs, AMD and with script tags. The `library` option defines the namespace. We are using `[name]` in the `library` option to give every entry a different namespace. -You can see that webpack automatically wraps your module so that it is consumable in every enviroment. All you need is this simple config. +You can see that webpack automatically wraps your module so that it is consumable in every environment. All you need is this simple config. Note: You can also use the `library` and `libraryTarget` options without multiple entry points. Then you don't need `[name]`. diff --git a/examples/multi-part-library/template.md b/examples/multi-part-library/template.md index 5ca0f30f4a3..c7d526392c2 100644 --- a/examples/multi-part-library/template.md +++ b/examples/multi-part-library/template.md @@ -6,7 +6,7 @@ We are using multiple entry points (`entry` option) to build every part of the l We are using the `libraryTarget` option to generate a UMD ([Universal Module Definition](https://github.com/umdjs/umd)) module that is consumable in CommonsJs, AMD and with script tags. The `library` option defines the namespace. We are using `[name]` in the `library` option to give every entry a different namespace. -You can see that webpack automatically wraps your module so that it is consumable in every enviroment. All you need is this simple config. +You can see that webpack automatically wraps your module so that it is consumable in every environment. All you need is this simple config. Note: You can also use the `library` and `libraryTarget` options without multiple entry points. Then you don't need `[name]`.