Skip to content

Add option to skip overriding assets: tasks #440

Closed
@mipearson

Description

@mipearson

Hi,

I'm looking at moving our application off of my gem webpack-rails and on to webpacker and also writing a guide for others to do so, with the intention of sunsetting webpack-rails.

Our application builds the sprockets assets and webpack assets separately. By doing so, we can do some clever caching to avoid having to build our webpack assets (which takes ~40s in CI) on every CI build. I'd like to preserve this behaviour.

I'd like to submit a pull request to add an option to config/webpacker.yml that disables the Rake::Task[*].enhance calls in webpacker.

Would this be acceptable?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions