Skip to content

Commit 48313dc

Browse files
anshumanvchenxsan
andauthored
docs(concepts): add public path in entry descriptor (#4878)
* docs: add public path in entry descriptor * docs: add public path in entry descriptor * Update src/content/concepts/entry-points.md Co-authored-by: Sam Chen <[email protected]> Co-authored-by: Sam Chen <[email protected]>
1 parent e94cd2d commit 48313dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/content/concepts/entry-points.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ contributors:
1010
- Zearin
1111
- chenxsan
1212
- adyjs
13+
- anshumanv
1314
---
1415

1516
As mentioned in [Getting Started](/guides/getting-started/#using-a-configuration), there are multiple ways to define the `entry` property in your webpack configuration. We will show you the ways you **can** configure the `entry` property, in addition to explaining why it may be useful to you.
@@ -83,6 +84,7 @@ An object with entry point description. You can specify the following properties
8384
- `import`: Module(s) that are loaded upon startup.
8485
- `library`: Specify [library options](/configuration/output/#outputlibrary) to bundle a library from current entry.
8586
- `runtime`: The name of the runtime chunk. If set, a runtime chunk with this name is created otherwise an existing entry point is used as runtime.
87+
- `publicPath`: Specify a public URL address for the output files of this entry when they are referenced in a browser. Also see [output.publicPath](/configuration/output/#outputpublicpath).
8688

8789
**webpack.config.js**
8890

0 commit comments

Comments
 (0)