@badcss/core
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -34,6 +34,5 @@ import { ButtonComponent } from "./components/Button.js"; | ||
const configObj = eval("(" + config + ")"); | ||
console.log(configObj.plugins); | ||
if (!configObj) return; | ||
// Allowed plugins | ||
const allowedPlugins = ["fontawesome"]; | ||
const dataPlugins = { | ||
@@ -46,3 +45,2 @@ fontawesome: `<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/${ | ||
// Check if the plugin is valid | ||
// Load the plugins | ||
@@ -49,0 +47,0 @@ if (configObj.plugins.fontawesome) { |
{ | ||
"name": "@badcss/core", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "A lightweight and customizable framework designed to simplify web development and enhance the styling capabilities of your projects.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
8524
198