forgecss 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fx.d.ts +1 -0
- package/fx.js +3 -0
- package/index.js +0 -3
- package/lib/generator.js +0 -1
- package/package.json +1 -1
package/fx.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function fx(classes: string): string;
|
package/fx.js
ADDED
package/index.js
CHANGED
|
@@ -2,9 +2,6 @@ import getAllFiles from "./lib/getAllFiles.js";
|
|
|
2
2
|
import { extractStyles } from "./lib/styles.js";
|
|
3
3
|
import { extractDeclarations } from "./lib/processFile.js";
|
|
4
4
|
import { generateOutputCSS } from "./lib/generator.js";
|
|
5
|
-
import forgeCSSExpressionTransformer from './client/fx.js';
|
|
6
|
-
|
|
7
|
-
export const fx = forgeCSSExpressionTransformer;
|
|
8
5
|
|
|
9
6
|
const DEFAULT_OPTIONS = {
|
|
10
7
|
styles: {
|
package/lib/generator.js
CHANGED
|
@@ -5,7 +5,6 @@ import { createMediaStyle } from "./styles.js";
|
|
|
5
5
|
export async function generateOutputCSS(config) {
|
|
6
6
|
const cache = {};
|
|
7
7
|
const declarations = getDeclarations();
|
|
8
|
-
console.log(declarations);
|
|
9
8
|
Object.keys(declarations).map((file) => {
|
|
10
9
|
Object.keys(declarations[file]).forEach(async (label) => {
|
|
11
10
|
try {
|