Skip to content

Commit

Permalink
docs(concepts): add public path in entry descriptor (#4878)
Browse files Browse the repository at this point in the history
* 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 <chenxsan@gmail.com>

Co-authored-by: Sam Chen <chenxsan@gmail.com>
  • Loading branch information
anshumanv and chenxsan committed Apr 17, 2021
1 parent e94cd2d commit 48313dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/content/concepts/entry-points.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ contributors:
- Zearin
- chenxsan
- adyjs
- anshumanv
---

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.
Expand Down Expand Up @@ -83,6 +84,7 @@ An object with entry point description. You can specify the following properties
- `import`: Module(s) that are loaded upon startup.
- `library`: Specify [library options](/configuration/output/#outputlibrary) to bundle a library from current entry.
- `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.
- `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).

**webpack.config.js**

Expand Down

1 comment on commit 48313dc

@vercel
Copy link

@vercel vercel bot commented on 48313dc Apr 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.