Skip to content

Commit ee562ec

Browse files
committed
Update README to match buildSandboxGlobals API
1 parent 9ac7af6 commit ee562ec

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@ module.exports = function(environment) {
6363
let myGlobal = environment === 'production' ? process.env.MY_GLOBAL : 'testing';
6464

6565
return {
66-
sandboxGlobals: {
67-
myGlobal;
66+
buildSandboxGlobals(defaultGlobals) {
67+
return Object.assign({}, defaultGlobals, {
68+
myGlobal,
69+
});
6870
}
6971
};
7072
}

0 commit comments

Comments
 (0)