diff --git a/lib/env-bundler.js b/lib/env-bundler.js index c5cf059..55b3018 100644 --- a/lib/env-bundler.js +++ b/lib/env-bundler.js @@ -250,7 +250,12 @@ const componentResponseProcessor = { 'configuration.frames[].descr': 'configuration.frames[].description', 'configuration.frames[].mainFrame': 'configuration.frames[].mainFrame', 'configuration.frames[].defaultWidget': 'configuration.frames[].defaultWidget', - 'configuration.frames[].sketch': 'configuration.frames[].sketch', + 'configuration.frames[].sketch': [{ + key: 'configuration.frames[].sketch', + transform: function(sketch) { + return sketch === null ? {x1: 0, x2: 11, y1: 0, y2: 0} : sketch; + } + }], 'template': 'template' };