Named Dot Arrays in Webpack
Named entry points can contain arrays of entry points. The array of entry points will be merged into a single build file. The following example will result in two files: file1.js and file2.js:
export default {
entry: {
file1: [
'./src/test1.js',
'./src/test2.js',
],
file2: './src/test3.js'
},
};
Please tell us how the following settings will work and what the result will be:
export default {
entry: {
bund1: [
'./src/test1.js',
'./src/test2.js',
],
bund2: [
'./src/test3.js',
'./src/test4.js',
],
bund3: [
'./src/test5.js',
'./src/test6.js',
],
},
};