In a plastic container that has a lid, add the vinegar, vegetable and olive oils, Dijon mustard, garlic, onion, salt, black pepper and sugar. Cover the container with a lid and shake for 10 seconds until the vinaigrette is well emulsified. Alternatively, you can also whisk with a fork in a bowl.