compileStylesheet method
Implementation
List<DartSourceOutput> compileStylesheet(
String stylesheetUrl, String cssText) {
final plainStyles =
_styleCompiler.compileStylesheet(stylesheetUrl, cssText, false);
final shimStyles =
_styleCompiler.compileStylesheet(stylesheetUrl, cssText, true);
return [
_createSourceModule(
stylesModuleUrl(stylesheetUrl, false),
plainStyles.statements,
),
_createSourceModule(
stylesModuleUrl(stylesheetUrl, true),
shimStyles.statements,
),
];
}