Skip to content

Commit 5214229

Browse files
EugeneHlushkomontogeek
authored andcommitted
docs(plugins) dll plugin inline quotation (#2944)
1 parent df935e9 commit 5214229

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/plugins/dll-plugin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@ This plugin can be used in two different modes, _scoped_ and _mapped_.
5959

6060
#### Scoped Mode
6161

62-
The content of the dll is accessible under a module prefix. i.e. with `scope = "xyz"` a file `abc` in the dll can be access via `require("xyz/abc")`.
62+
The content of the dll is accessible under a module prefix. i.e. with `scope = 'xyz'` a file `abc` in the dll can be access via `require('xyz/abc')`.
6363

6464
T> [See an example use of scope](https://github.com/webpack/webpack/tree/master/examples/dll-user)
6565

6666
#### Mapped Mode
6767

6868
The content of the dll is mapped to the current directory. If a required file matches a file in the dll (after resolving), then the file from the dll is used instead.
6969

70-
Because this happens after resolving every file in the dll bundle, the same paths must be available for the consumer of the dll bundle. i.e. if the dll contains `lodash` and the file `abc`, `require("lodash")` and `require("./abc")` will be used from the dll, rather than building them into the main bundle.
70+
Because this happens after resolving every file in the dll bundle, the same paths must be available for the consumer of the dll bundle. i.e. if the dll contains `lodash` and the file `abc`, `require('lodash')` and `require('./abc')` will be used from the dll, rather than building them into the main bundle.
7171

7272

7373
## Usage

0 commit comments

Comments
 (0)