When configuring Rollupjs to generate a library, if the input is an array which consists of multiple javascript files. How can we do to these inputs will be generated in just a single output js file?
export const lgService = {
input: [
'./src/app/services/livegiver/lgservices.js',
'./src/app/services/readable-stream.js'
],
output: {
file: outputPath + 'LiveGiver/index.js',
format: 'es'
}
}
Expected:
Input: [a.js, b.js]
Output: dist/index.js
Actual:
Input: [a.js, b.js]
Output: dist/a.js; dist/b.js