Skip to content

Support nodejs asset compilation, similar to rails-assets #671

@fgrehm

Description

@fgrehm

Describe the Enhancement

Support asset compilation with node (ex: with webpacker) for Go apps, without the need to specify one of the nodejs buildpacks

Possible Solution

A new go-assets buildpack that wraps some of the existing nodejs BPs (probably everything except for *-start ones), users can then specify the build CMD with BP_NODE_RUN_SCRIPTS

Motivation

It's possible to achieve this by simply including the full nodejs buildpack in a group alongside the go BP, but it'd be nice to be able to specify a single group for our go apps. One could also argue that there's a potential need for doing this for other languages like java and maybe others

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