P粉5236250802023-08-10 15:15:18
It seems I was wrong when I said you can't use multiple loaders today. It's just that the API is (as it always has been) marked experimental and unstable. You can think of it as a series of handlers connected to each other, just like using require
:
node \ --experimental-loader unpkg \ --experimental-loader http-to-https \ --experimental-loader cache-buster
This answer is not complete yet, so I will add to it when I learn more (or someone else can edit it).