File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
plugins/postcss-custom-properties/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,14 +48,14 @@ const creator: PluginCreator<PluginOptions> = (opts?: PluginOptions) => {
48
48
// promise any custom selectors are imported
49
49
const customPropertiesPromise = getCustomPropertiesFromImports ( importFrom ) ;
50
50
51
- let customProperties : Map < string , valuesParser . ParsedValue > = new Map ( ) ;
52
-
53
51
// whether to return synchronous function if no asynchronous operations are requested
54
52
const canReturnSyncFunction = importFrom . length === 0 && exportTo . length === 0 ;
55
53
56
54
return {
57
55
postcssPlugin : 'postcss-custom-properties' ,
58
56
prepare ( ) {
57
+ let customProperties : Map < string , valuesParser . ParsedValue > = new Map ( ) ;
58
+
59
59
if ( canReturnSyncFunction ) {
60
60
return {
61
61
Once : ( root ) => {
You can’t perform that action at this time.
0 commit comments