| Index: Source/devtools/scripts/concatenate_application_code.py
|
| diff --git a/Source/devtools/scripts/concatenate_application_code.py b/Source/devtools/scripts/concatenate_application_code.py
|
| index efcdbc9899f64b30a83d7bad87c469f15fbfc374..60e5442eef620587d3a0522a722faecb8701b5b1 100755
|
| --- a/Source/devtools/scripts/concatenate_application_code.py
|
| +++ b/Source/devtools/scripts/concatenate_application_code.py
|
| @@ -152,8 +152,12 @@ class ReleaseBuilder(AppBuilder):
|
| module = copy.copy(module_descriptors[name])
|
| # Clear scripts, as they are not used at runtime
|
| # (only the fact of their presence is important).
|
| - if module.get('scripts'):
|
| + stylesheets = module.get('stylesheets', None)
|
| + if module.get('scripts') or stylesheets:
|
| module['scripts'] = []
|
| + # Stylesheets list is not used at runtime.
|
| + if stylesheets is not None:
|
| + del module['stylesheets']
|
| result.append(module)
|
| return json.dumps(result)
|
|
|
|
|