Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.3k
Update entry-context.mdx#7328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
multiple js config entry added
@cengizilhan is attempting to deploy a commit to theWebpack Docs Team onVercel. A member of the Team first needs toauthorize it. |
linux-foundation-easyclabot commentedJul 25, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
The committers listed above are authorized under a signed CLA. |
I believe it's already documented inhttps://webpack.js.org/concepts/entry-points/#multi-page-application |
@chenxsan thats right but |
module.exports = { | ||
//... | ||
entry: { | ||
'/scriptFolder/index.min': '../Static/index.js', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
maybe simplify the entry to local relative paths? Makes it easier to understand.
./js/one.js
and./js/two.js
cengizilhanAug 1, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
yes, thats better. Should I edit and commit again systematically?
multiple js config entry added
the technical document in which you wanted to determine the input and output names of different files was not included. That's why I added this.