Skip to content

Commit e6436a6

Browse files
authored
chore: add warning about untrusted code (#3852)
1 parent 2bf2fc4 commit e6436a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/content/guides/getting-started.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ contributors:
2222
- byzyk
2323
- wizardofhogwarts
2424
- myshov
25+
- anshumanv
2526
---
2627

2728
webpack is used to compile JavaScript modules. Once [installed](/guides/installation), you can interface with webpack either from its [CLI](/api/cli) or [API](/api/node). If you're still new to webpack, please read through the [core concepts](/concepts) and [this comparison](/comparison) to learn why you might use it over the other tools that are out in the community.
@@ -335,4 +336,6 @@ webpack-demo
335336

336337
T> If you're using npm 5, you'll probably also see a `package-lock.json` file in your directory.
337338

339+
W> Do not compile untrusted code with webpack. It could lead to execution of malicious code on your computer, remote servers, or in the Web browsers of the end users of your application.
340+
338341
If you want to learn more about webpack's design, you can check out the [basic concepts](/concepts) and [configuration](/configuration) pages. Furthermore, the [API](/api) section digs into the various interfaces webpack offers.

0 commit comments

Comments
 (0)