guni/themegenerator-bundle

Combines JS-Files and converts SASS to CSS

1.0.6 2024-10-25 18:30 UTC

This package is auto-updated.

Last update: 2025-02-25 17:10:12 UTC


README

Goal of the project

Most of my projects contain SASS and JS files and (actually all) contain Symfony (Pimcore, plain Symfony, Sulu). In order to be able to handle the files in the same way on different environments (dev, stg, prod, pipeline) without having to put additional effort into the infrastructure, I have built this bundle.

Installation

  • Add this config file and the flysystem config in your config/package folder. In a later release it is planned that the files will be inserted via symfony/recipe.

  • Add Guni\ThemeGeneratorBundle\GuniThemeGeneratorBundle::class => ['all' => true], to your config/bundles.php

  • Execute: $ composer require guni/themegenerator-bundle

Configure

asset_path: Folder for the JS- and CSS-Files destination: js: sass: Filenames for JS- and CSS-File

sass: SASS-basefile name

js_combine: List of files to be combined

Usage

After configuration, a bin/console guni:theme:generate is sufficient.