@veloceapps/sdk 8.0.0-101 → 8.0.0-102

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,6 +23,7 @@ import * as angularForms from '@angular/forms';
23
23
  import { FormsModule, ReactiveFormsModule } from '@angular/forms';
24
24
  import * as rxjsOperators from 'rxjs/operators';
25
25
  import { transform } from '@babel/standalone';
26
+ import * as sass from 'sass';
26
27
  import { loadRemoteModule } from '@angular-architects/module-federation';
27
28
 
28
29
  var FlowAction;
@@ -2249,7 +2250,12 @@ class ElementsResolver {
2249
2250
  result += configuredStyles;
2250
2251
  }
2251
2252
  if (element.styles) {
2252
- result += element.styles;
2253
+ try {
2254
+ result += sass.compileString(element.styles).css;
2255
+ }
2256
+ catch (_) {
2257
+ result += element.styles;
2258
+ }
2253
2259
  }
2254
2260
  return result || undefined;
2255
2261
  }