Movatterモバイル変換


[0]ホーム

URL:


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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
cengizilhan wants to merge1 commit intowebpack:main
base:main
Choose a base branch
Loading
fromcengizilhan:patch-1

Conversation

cengizilhan
Copy link

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
@vercelVercel
Copy link

vercelbot commentedJul 25, 2024

@cengizilhan is attempting to deploy a commit to theWebpack Docs Team onVercel.

A member of the Team first needs toauthorize it.

@linux-foundation-easyclaLinux Foundation: EasyCLA
Copy link

linux-foundation-easyclabot commentedJul 25, 2024
edited
Loading

CLA Signed


The committers listed above are authorized under a signed CLA.

@chenxsan
Copy link
Member

I believe it's already documented inhttps://webpack.js.org/concepts/entry-points/#multi-page-application

@cengizilhan
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',

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

@cengizilhancengizilhanAug 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 freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@evenstensbergevenstensbergevenstensberg 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.

3 participants
@cengizilhan@chenxsan@evenstensberg

[8]ページ先頭

©2009-2025 Movatter.jp