function all(config, mode) {
	init(config, mode);
	return create(config);
}
Run sync.init and sync.create in series, returning the result from sync.create.
@param {import('types').ValidatedConfig} config
@param {string} mode The Vite mode