Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Adding config.set('singleEntry'). Resolves #230. #239

Closed
wants to merge 2 commits into from

Conversation

joeldenning
Copy link
Contributor

Resolves #230.

config.entryPoints is a ChainedMap which doesn't translate well to situations where you want to set the webpack entry as a single string.

The singleEntry solution didn't feel the most elegant, but seemed better than overloading config.entryPoints or config.entry() to have additional methods that make them not behave as ChainedMaps. I'm open to other ideas about it, but think the singleEntry way is an alright one.

Copy link
Member

@edmorley edmorley left a comment

Choose a reason for hiding this comment

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

Hi! Thank you for the PR - I'd like to get my head around the current vs desired entry-related behaviour first - I've left a comment on the issue:
#230 (comment)

@zollero
Copy link

zollero commented Mar 1, 2021

@edmorley How is the "support of single entry" going on?

@edmorley
Copy link
Member

edmorley commented Mar 1, 2021

@zollero Hi! I'm not actively working on any project that uses webpack, so haven't used Neutrino or webpack-chain for some time. As such it's hard to justify spend time maintaining them. I'd hoped there would be more interest from the rest of the community in helping with maintenance (particularly given the Vue ecosystem uses webpack-chain), but there hasn't been much interest.

@zollero
Copy link

zollero commented Mar 2, 2021

@edmorley I have use webpack-chain for some webpack project, it is very useful for generating webpack config settings. Wish this PR could be merged.

@edmorley
Copy link
Member

edmorley commented Feb 3, 2024

Closing since this project is no longer maintained:
#358

@edmorley edmorley closed this Feb 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

Support a single webpack entry
3 participants