Skip to content

Conversation

neothone
Copy link

Q A
License MIT
Packagist https://packagist.org/packages/fastfony/tailwind-webpack-encore-pack

Tailwind Support for Symfony + Webpack Encore

It's an implementation of the tutorial available on the Tailwind CSS site.

@Copilot Copilot AI review requested due to automatic review settings October 10, 2025 18:51
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a Symfony Flex recipe for the fastfony/tailwind-webpack-encore-pack package, enabling easy Tailwind CSS integration with Symfony projects using Webpack Encore. The recipe automates the configuration setup by copying configuration files and modifying existing project files to enable PostCSS processing.

  • Adds PostCSS configuration file for Tailwind CSS processing
  • Configures Webpack Encore to enable PostCSS loader
  • Automatically imports Tailwind CSS directives into the main stylesheet

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
postcss.config.mjs PostCSS configuration file that enables Tailwind CSS processing
manifest.json Symfony Flex recipe manifest that automates configuration setup
Comments suppressed due to low confidence (1)

fastfony/tailwind-webpack-encore-pack/1.0/manifest.json:1

  • The directive '@source not' appears to be a typo. Should this be '@import' or a different CSS directive?
{

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@symfony-recipes-bot symfony-recipes-bot enabled auto-merge (squash) October 10, 2025 18:52
Copy link

github-actions bot commented Oct 10, 2025

Thanks for the PR 😍

How to test these changes in your application

  1. Define the SYMFONY_ENDPOINT environment variable:

    # On Unix-like (BSD, Linux and macOS)
    export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1869/index.json
    # On Windows
    SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1869/index.json
  2. Install the package(s) related to this recipe:

    composer req symfony/flex
    composer req 'fastfony/tailwind-webpack-encore-pack:^1.0'
  3. Don't forget to unset the SYMFONY_ENDPOINT environment variable when done:

    # On Unix-like (BSD, Linux and macOS)
    unset SYMFONY_ENDPOINT
    # On Windows
    SET SYMFONY_ENDPOINT=

Diff between recipe versions

In order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes.
I'm going keep this comment up to date with any updates of the attached patch.

auto-merge was automatically disabled October 10, 2025 19:42

Head branch was pushed to by a user without write access

@symfony-recipes-bot symfony-recipes-bot enabled auto-merge (squash) October 10, 2025 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant