(Apologies in advance for the pedantry.)
Not the biggest issue, but as described, this loader uses more of a demultiplex pattern than a multiplex one. Webpack users might be able to find and use your loader more easily if you renamed it to demultiplex-loader.
From Wikipedia (emphasis mine):
"An electronic multiplexer can be considered as a multiple-input, single-output switch, and a demultiplexer as a single-input, multiple-output switch."[3]
Since you read a single resource into multiple loaders and provide the results of each at a separate key in the object returned by the require, you have a single-input, multiple-output pattern.
(Apologies in advance for the pedantry.)
Not the biggest issue, but as described, this loader uses more of a demultiplex pattern than a multiplex one. Webpack users might be able to find and use your loader more easily if you renamed it to
demultiplex-loader.From Wikipedia (emphasis mine):
Since you read a single resource into multiple loaders and provide the results of each at a separate key in the object returned by the require, you have a single-input, multiple-output pattern.