Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Extract esbuild configuration into a common package #675

@hlxid

Description

@hlxid

Description

Many bundles inside nodecg-io have a UI that is built using esbuild. Currently this list includes the following bundles:

  • core dashboard
  • debug service dashboard
  • StreamElements sample graphic

These all have a very similar esbuild.config.js config file. Because we will get even more bundles requiring esbuild configurations in the future when we will integrate NodeCG Replicants into more services, we should remedy this code duplication.

The esbuild configuration should be split into a common package, similar to nodecg-io-tsconfig. This package should expose some configuration e.g. whether monaco is being used that can be toggled by the using bundle when required.

This bundle shall useable by external bundles too, just like the nodecg-io-tsconfig package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions