Comparing version 1.0.0-emerald-6 to 1.0.0-emerald-7
{ | ||
"name": "alga-css", | ||
"version": "1.0.0-emerald-6", | ||
"version": "1.0.0-emerald-7", | ||
"description": "Alga CSS is a scope or component-first CSS toolkit for quickly mix or compose CSS components and properties", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -47,8 +47,4 @@ <p align="center"> | ||
extract: [ | ||
'./src/**/*.vue', | ||
'./src/**/*.html', | ||
'./src/**/*.astro', | ||
'./src/**/*.svelte', | ||
'./src/**/*.jsx', | ||
'./src/**/*.tsx' | ||
'./src/**/*.{otherFormat}' | ||
], | ||
@@ -55,0 +51,0 @@ src: './src/styles/*.alga' |
@@ -226,12 +226,5 @@ const postcss = require('postcss') | ||
const coreFiles = fs.readdirSync(path.resolve(__dirname, './../../alga')) | ||
if(coreFiles) { | ||
for(let file of coreFiles) { | ||
if(file.endsWith('alga.css') || file.endsWith('.alga')) { | ||
if(file.includes(opts.componentName)) { | ||
component = Object.assign({}, component, readPath(path.resolve(__dirname, './../../alga') + '/' + file, opts)) | ||
break; | ||
} | ||
} | ||
} | ||
const coreFile = path.resolve(__dirname, './../../alga/'+opts.componentName+'.alga') | ||
if(fs.existsSync(coreFile)) { | ||
component = Object.assign({}, component, readPath(coreFile, opts)) | ||
} | ||
@@ -238,0 +231,0 @@ |
182598
2073
138