captbaritone / captbaritone/webamp

Get Webamp to work without Webpack

Open
#785 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
11.3k
Forks
796
PR merge metrics
No merged PRs in 30d

Description

Ideally Webamp should have fewer build steps over time, not more. It would be nice to have a proof of concept that we can:

1. Strip typescript types
2. Create an HTML file that imports the Webamp class
3. Use it

Note that this refers to the Webamp class, not the demo site.

## Current blockers:

1. Imported CSS files

## Benefits

Once we get to a place where this is possible, we should be able to distribute a non-bundled build, which would allow users to reuse their own version of React/Redux/etc which could dramatically improve bundle size for consumers.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the Webamp class and the current Webpack configuration, then inspect how the imported CSS files block direct browser imports. Prototype an HTML entry point that imports the Webamp class after stripping TypeScript types; done means the class works without Webpack and the non-bundled distribution approach is demonstrated.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, redux, typescript, webpack
Domain
build-system, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.