Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cengizilhan wants to merge 1 commit into webpack:main
base: main
Choose a base branch
Loading
from cengizilhan:patch-1
Open

Conversation

Copy link

@cengizilhan cengizilhan commented Jul 25, 2024

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.

multiple js config entry added
Copy link

vercel bot commented Jul 25, 2024

@cengizilhan is attempting to deploy a commit to the Webpack Docs Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

linux-foundation-easycla bot commented Jul 25, 2024
edited
Loading

CLA Signed


The committers listed above are authorized under a signed CLA.

Copy link
Member

Copy link
Author

@chenxsan thats right but
"entry: {
exampleFolder/pageOne:
paths.src + '/index.js'
},"
you cant do it like that so you cant select the folder, only you can define the file.

module.exports = {
//...
entry: {
'/scriptFolder/index.min': '../Static/index.js',
Copy link
Member

@evenstensberg evenstensberg Jul 31, 2024

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.jsand ./js/two.js

cengizilhan reacted with thumbs up emoji
Copy link
Author

@cengizilhan cengizilhan Aug 1, 2024
edited
Loading

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@evenstensberg evenstensberg evenstensberg left review comments

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /