Comparing version 1.0.0-silver-6 to 1.0.0-silver-7
{ | ||
"name": "alga-css", | ||
"version": "1.0.0-silver-6", | ||
"version": "1.0.0-silver-7", | ||
"description": "Alga CSS is a scope-first CSS toolkit for quickly mix or compose CSS references and share CSS properties between components", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -27,2 +27,5 @@ // Configs | ||
config.components = component(options?.src, opts) | ||
if(options?.initialExtraction) { | ||
config.extract = extraction(options?.extract, {...opts, extract: config.extract}) | ||
} | ||
@@ -63,5 +66,2 @@ if(options?.plugins && Number(options?.plugins.length) >= 1) { | ||
let name = param | ||
if(name === 'base') { | ||
config.extract = extraction(options?.extract, {...opts, extract: config.extract}) | ||
} | ||
if(param.includes('.')) { | ||
@@ -73,2 +73,4 @@ const prms = param.split('.') | ||
if(config.components[param]) { | ||
config.extract = extraction(options?.extract, {...opts, extract: config.extract}) | ||
let newNodes = [] | ||
@@ -75,0 +77,0 @@ if(rule?.nodes) { |
117187
1483