Skip to content

Feature: Support for encore loaders and plugins #27

Description

@bildschirmartist

Hello,
we use this extension to develop a Contao Theme Bundle that takes advantage of Webpack and which we can include in multiple Contao instances.
With the basic functionalities of Encore this is working great!

But beyond that we would also like to use other plugins and loaders, such as this one: https://www.npmjs.com/package/svg-spritemap-webpack-plugin.

Therefore, it would be great to be able to add these, with appropriate configuration, as EncoreEntry as well.

Activity

  1. koertho commented on Feb 23, 2023

    @koertho
    Contributor

    Hi, that looks like a very good idea to let encore entries enable loaders/ plugins. But to implement such a future we need a good concept (how do we the configuration, how to handle multiple entries configuring the same plugin) and time (which is always short especially for things we do not need for current projects). You're very welcome to provide an concept or do an concept PR :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions