Skip to content

Commit 485bb6f

Browse files
authored
Merge pull request #3 from webpack/master
1116
2 parents dadf1f8 + 4646848 commit 485bb6f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/content/guides/build-performance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ W> Don't use too many workers, as there is a boot overhead for the Node.js runti
108108
Enable persistent caching with the `cache-loader`. Clear cache directory on `"postinstall"` in `package.json`.
109109

110110

111-
T> We support yarn PnP version 3 [`yarn 2 berry`](https://next.yarnpkg.com/features/pnp) for persistent caching
111+
T> We support yarn PnP version 3 [`yarn 2 berry`](https://next.yarnpkg.com/features/pnp) for persistent caching.
112112

113113
### Custom plugins/loaders
114114

@@ -153,7 +153,7 @@ Be aware of the performance differences between the different `devtool` settings
153153
- The `cheap-source-map` variants are more performant if you can live with the slightly worse mapping quality.
154154
- Use a `eval-source-map` variant for incremental builds.
155155

156-
=> In most cases, `eval-cheap-module-source-map` is the best option.
156+
T> In most cases, `eval-cheap-module-source-map` is the best option.
157157

158158

159159
### Avoid Production Specific Tooling

src/content/guides/ecma-script-modules.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ import theDefaultValue from './module.js';
6363

6464
By default webpack will automatically detect whether a file is an ESM or a different module system.
6565

66-
Node.js estabilished a way of explicitly setting the module type of files by using a property in the `package.json`.
66+
Node.js established a way of explicitly setting the module type of files by using a property in the `package.json`.
6767
Setting `"type": "module"` in a package.json does force all files below this package.json to be ECMAScript Modules.
6868
Setting `"type": "commonjs"` will instead force them to be CommonJS Modules.
6969

@@ -75,11 +75,11 @@ Setting `"type": "commonjs"` will instead force them to be CommonJS Modules.
7575

7676
In addition to that, files can set the module type by using `.mjs` or `.cjs` extension. `.mjs` will force them to be ESM, `.cjs` force them to be CommonJs.
7777

78-
In DataURIs using the `text/javascript` or `application/javascript` mimetype will also force module type to ESM.
78+
In DataURIs using the `text/javascript` or `application/javascript` mime type will also force module type to ESM.
7979

8080
In addition to the module format, flagging modules as ESM also affect the resolving logic, interop logic and the available symbols in modules.
8181

82-
Imports in ESM are resolved more stictly. Relative requests must include a filename and file extension.
82+
Imports in ESM are resolved more strictly. Relative requests must include a filename and file extension.
8383

8484
T> Requests to packages e.g. `import "lodash"` are still supported.
8585

0 commit comments

Comments
 (0)