diff --git a/docs/docs/building/polyfills-loader.md b/docs/docs/building/polyfills-loader.md index 9a6e10a3a..54dd98826 100644 --- a/docs/docs/building/polyfills-loader.md +++ b/docs/docs/building/polyfills-loader.md @@ -44,7 +44,7 @@ For your application code, we recommend using `preload` (or `modulepreload` when ```html
- + ``` @@ -141,7 +141,7 @@ const config = { ## polyfills -The polyfills config controls which polyills are injected onto the page. These are the possible polyfills: +The polyfills config controls which polyfills are injected onto the page. These are the possible polyfills: - [coreJs](https://github.com/zloirock/core-js) - [regeneratorRuntime](https://github.com/facebook/regenerator/tree/master/packages/regenerator-runtime) diff --git a/docs/docs/building/rollup-plugin-html.md b/docs/docs/building/rollup-plugin-html.md index bdab0cfa5..f3b805245 100644 --- a/docs/docs/building/rollup-plugin-html.md +++ b/docs/docs/building/rollup-plugin-html.md @@ -242,7 +242,7 @@ export default { ### Minification -Set the minify option to do default HTML minificiation. If you need custom options, you can implement your own minifier using the `transformHtml` option. +Set the minify option to do default HTML minification. If you need custom options, you can implement your own minifier using the `transformHtml` option. ```js import { rollupPluginHTML as html } from '@web/rollup-plugin-html'; diff --git a/docs/docs/building/rollup-plugin-import-meta-assets.md b/docs/docs/building/rollup-plugin-import-meta-assets.md index 1d12b1a17..3272a7be3 100644 --- a/docs/docs/building/rollup-plugin-import-meta-assets.md +++ b/docs/docs/building/rollup-plugin-import-meta-assets.md @@ -88,7 +88,7 @@ Default: `null` By default, referenced assets detected by this plugin are just copied as is to the output directory, according to your configuration. When `transform` is defined, this function will be called for each asset with two parameters, the content of the asset as a [Buffer](https://nodejs.org/api/buffer.html) and the absolute path. -This allows you to conditionnaly match on the absolute path and maybe transform the content. +This allows you to conditionally match on the absolute path and maybe transform the content. When `transform` returns `null`, the asset is skipped from being processed. diff --git a/docs/docs/dev-server/cli-and-configuration.md b/docs/docs/dev-server/cli-and-configuration.md index 8806521a1..f34daff6e 100644 --- a/docs/docs/dev-server/cli-and-configuration.md +++ b/docs/docs/dev-server/cli-and-configuration.md @@ -86,7 +86,7 @@ interface DevServerConfig { open?: 'string' | boolean; // index HTML to use for SPA routing / history API fallback appIndex?: string; - // reload the brower on file changes. + // reload the browser on file changes. watch?: boolean; // resolve bare module imports nodeResolve?: boolean | RollupNodeResolveOptions; diff --git a/docs/docs/dev-server/plugins/esbuild.md b/docs/docs/dev-server/plugins/esbuild.md index 9ff77b0a1..7a1c825a3 100644 --- a/docs/docs/dev-server/plugins/esbuild.md +++ b/docs/docs/dev-server/plugins/esbuild.md @@ -76,7 +76,7 @@ The `auto-always` option looks at the user agent, but doesn't skip the latest ve ### Browser and language target -The target option can be set to one or more browser or language targetversions, for example `chrome80` or `es2020`. The property can be an array, so you can set multiple browser targets. While the auto target options are specific to this plugin, the browser and language target come directly from esbuild. [Check the docs](https://github.com/evanw/esbuild) for more information. +The target option can be set to one or more browser or language target versions, for example `chrome80` or `es2020`. The property can be an array, so you can set multiple browser targets. While the auto target options are specific to this plugin, the browser and language target come directly from esbuild. [Check the docs](https://github.com/evanw/esbuild) for more information. ### No target diff --git a/docs/docs/test-runner/browser-launchers/browserstack.md b/docs/docs/test-runner/browser-launchers/browserstack.md index 37464aa67..52cc49ce1 100644 --- a/docs/docs/test-runner/browser-launchers/browserstack.md +++ b/docs/docs/test-runner/browser-launchers/browserstack.md @@ -12,7 +12,7 @@ Install the package: npm i --save-dev @web/test-runner-browserstack ``` -Add the browser launcher to your `web-test-runner.confg.mjs`: +Add the browser launcher to your `web-test-runner.config.mjs`: ```js import { browserstackLauncher } from '@web/test-runner-browserstack'; diff --git a/docs/docs/test-runner/browser-launchers/saucelabs.md b/docs/docs/test-runner/browser-launchers/saucelabs.md index 4e409aa6e..84269167e 100644 --- a/docs/docs/test-runner/browser-launchers/saucelabs.md +++ b/docs/docs/test-runner/browser-launchers/saucelabs.md @@ -12,7 +12,7 @@ Install the package: npm i --save-dev @web/test-runner-saucelabs ``` -Add the browser launcher to your `web-test-runner.confg.mjs`. To set up a local proxy to sauce labs, you first need to create the browser launcher which will share a common connection between all browsers: +Add the browser launcher to your `web-test-runner.config.mjs`. To set up a local proxy to sauce labs, you first need to create the browser launcher which will share a common connection between all browsers: ```js import { createSauceLabsLauncher } from '@web/test-runner-saucelabs'; diff --git a/docs/docs/test-runner/commands.md b/docs/docs/test-runner/commands.md index f29af7ce4..ff20517d8 100644 --- a/docs/docs/test-runner/commands.md +++ b/docs/docs/test-runner/commands.md @@ -334,7 +334,7 @@ it('natively holds and then releases a key', async () => { ### Select option -The `selectOption` command allows you to select an option in a `