mirror of
https://github.com/standardnotes/app.git
synced 2026-01-16 23:01:30 +00:00
13 lines
No EOL
228 B
JavaScript
13 lines
No EOL
228 B
JavaScript
const Defaults = {
|
|
platform: 'web',
|
|
};
|
|
|
|
function mergeWithEnvDefaults(env) {
|
|
for (const key of Object.keys(Defaults)) {
|
|
if (!env[key]) {
|
|
env[key] = Defaults[key];
|
|
}
|
|
}
|
|
}
|
|
|
|
module.exports = mergeWithEnvDefaults; |