Hi everyone.
With webpack we were able to create custom configs like this for example:
custom-webpack.config.ts:
import type { Configuration } from 'webpack';
module.exports = {
entry: {
background: {
import: 'src/background/worker.ts',
runtime: false,
},
['content-script']: {
import: 'src/content/script.ts',
runtime: false,
},
},
} as Configuration;
How can I do a smiliar thing with esbuild now? is it possible?