Generate bundledDependencies from the values in the dependencies field.