Skip to content

Commit

Permalink
Merge pull request #4422 from shotat/feature/fix-typo
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
sokra committed Mar 5, 2017
2 parents 5abfeea + ff90624 commit d0908fe
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions bin/config-optimist.js
Expand Up @@ -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")
Expand All @@ -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")
Expand Down
4 changes: 2 additions & 2 deletions bin/config-yargs.js
Expand Up @@ -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": {
Expand Down Expand Up @@ -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
},
Expand Down
2 changes: 1 addition & 1 deletion examples/multi-part-library/README.md
Expand Up @@ -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]`.

Expand Down
2 changes: 1 addition & 1 deletion examples/multi-part-library/template.md
Expand Up @@ -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]`.

Expand Down

0 comments on commit d0908fe

Please sign in to comment.