Skip to content

Overcomplicated @rails/webpacker package? #895

Closed
@joroshiba

Description

@joroshiba

I love that this just works out of the box, but configuring it after that leaves a lot to be desired.

The basis of the problem being that generally webpack will need some configuration and it is currently 90% extracted out into a node module, and I could start from scratch but it already mostly works.

Maybe I'm missing something, but it seems like you could have a much simpler easy to extend, well documented by webpack configuration with a webpack.base.config.js that is simply extended in dev, test, prod file. Instead it is using a yarn package with and environment class that builds an object and requires me to read the code of the yarn package to change. (The current webpacker documentation here says to look at webpack for configuration information, but that isn't particularly useful IMO when you have built helper libraries to build the config object.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions