Comparing version 1.0.0-bronze-8 to 1.0.0-bronze-9
{ | ||
"name": "alga-css", | ||
"version": "1.0.0-bronze-8", | ||
"version": "1.0.0-bronze-9", | ||
"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", |
@@ -21,3 +21,3 @@ const postcss = require('postcss') | ||
const root = postcss.parse(data.replaceAll(/\{([A-Za-z0-9\-\_]+)\.([A-Za-z0-9\-\_]+)\}/g, '$1($2)'), { from: undefined, map: false }) /* (\w+) */ | ||
const root = postcss.parse(data.replaceAll(/\{([A-Za-z0-9\-\_]+)\.([A-Za-z0-9\-\_]+)\}/g, '$1($2)'), { from: rp }) /* (\w+) */ | ||
for(let rnode of root.nodes) { | ||
@@ -24,0 +24,0 @@ // Convert define into property |
@@ -20,3 +20,3 @@ const postcss = require('postcss') | ||
const root = postcss.parse(data, { from: undefined, map: false }) | ||
const root = postcss.parse(data, { from: rp }) | ||
for(let rnode of root.nodes) { | ||
@@ -23,0 +23,0 @@ // Convert define into property |
116071