-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Closed
Description
Feature request
webpack version: v5.0.0-beta.15
I can see new feature dependOn
is added. I can see examples of dependOn only with objects
i:e
entry: {
app: { import: './app.js', dependOn: 'react-vendors' },
'react-vendors': ['react', 'react-dom', 'prop-types']
}
What is the expected behavior?
What if two different modules have common dependency and I want to combine this two files into one js
file. I cannot see examples of multiple files per entry using array.
Example:
entry: {
app: [{ import: './app.js', dependOn: 'react-vendors' }, { import: 'somejsfilepath', dependOn: 'react-vendors' }],
'react-vendors': ['react', 'react-dom', 'prop-types']
}
Metadata
Metadata
Assignees
Labels
No labels