Skip to content

Commit cfc1748

Browse files
authored
Put "require" and "module" in code
1 parent d264308 commit cfc1748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/guides/shimming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ module.exports = {
9393

9494
## `script-loader`
9595

96-
The [script-loader](/loaders/script-loader/) evaluates code in the global context, just like you would add the code into a `script` tag. In this mode, every normal library should work. require, module, etc. are undefined.
96+
The [script-loader](/loaders/script-loader/) evaluates code in the global context, just like you would add the code into a `script` tag. In this mode, every normal library should work. `require`, `module`, etc. are undefined.
9797

9898
W> The file is added as string to the bundle. It is not minimized by `webpack`, so use a minimized version. There is also no dev tool support for libraries added by this loader.
9999

0 commit comments

Comments
 (0)