Comparing version 1.0.0-beta-11 to 1.0.0-beta-12
{ | ||
"name": "alga-css", | ||
"version": "1.0.0-beta-11", | ||
"version": "1.0.0-beta-12", | ||
"description": "Alga CSS is a scope or component oriented CSS toolkit for quickly reuse CSS components and it can be stored in .alga format file as a custom CSS component and also it has many built-in customizable CSS properties that can be directly inserted to HTML Element class", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -197,12 +197,7 @@ const chokidar = require('chokidar') | ||
if(config.important) { | ||
if(config.extract.rules.length >= 1) { | ||
root.append(...config.extract.rules) | ||
} | ||
rule.remove() | ||
} else { | ||
const newLayer = layer(config.extract.rules, name, rule.source) | ||
rule.replaceWith(newLayer) | ||
if(config.extract.rules.length >= 1) { | ||
root.append(...config.extract.rules) | ||
} | ||
rule.remove() | ||
} else { | ||
@@ -209,0 +204,0 @@ let fileName = param |
256408
3421