What is the current behavior?
Currently when enabling either splitting or multiple entry-points then output_dir = True is enabled.
This is actually only necessary for the splitting case which will produce unpredictable output files, the multiple entry-point case will produce multiple files but those files will have predictable names based on the esbuild configuration.
Describe the feature
Setting entry_points will correctly declare outputs for each of the bundled outputs and source maps etc and only switch to output directory declaration if splitting is enabled.
What is the current behavior?
Currently when enabling either splitting or multiple entry-points then output_dir = True is enabled.
This is actually only necessary for the splitting case which will produce unpredictable output files, the multiple entry-point case will produce multiple files but those files will have predictable names based on the esbuild configuration.
Describe the feature
Setting
entry_pointswill correctly declare outputs for each of the bundled outputs and source maps etc and only switch to output directory declaration if splitting is enabled.