You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The block-syntax version of the file is checked. There's no later
version to upgrade to right now, so for now we just validate that the
version is declared and that it's version 1.
thrownewCssBlockError("Unable to process definition file because the syntax version of the definition file is greater than supported by CSS Blocks. You can fix this issue by upgrading CSS Blocks to the latest version.",{
75
+
filename: file.definitionIdentifier
76
+
});
77
+
}
78
+
if(version<MIN_SUPPORTED_VERSION){
79
+
thrownewCssBlockError("Unable to process definition file because the syntax of the definition can't be automatically upgraded to the latest version supported by CSS Blocks. You may be able to fix this issue by upgrading the dependency or origin file this definition file was generated from. Otherwise, you'll need to use an earlier version of CSS Blocks.",{
80
+
filename: file.definitionIdentifier
81
+
});
82
+
}
83
+
84
+
// NOTE: If we had to upgrade the syntax version of a definition file, here's where'd we do that.
85
+
// But this isn't a thing we need to do until we have multiple syntax versions.
86
+
87
+
// NOTE: This should be a new ImportedCompiledCssFile that has the definitionContents upgraded to
88
+
// the current supported version, but, again, we haven't upgraded anything yet.
0 commit comments