browserify / browserify/tinyify

tinyify makes bundle break

Open
#56 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
405
Forks
14
PR merge metrics
No merged PRs in 30d

Description

I'm using browserify on a project one of whose outputs is a webextension. When using browserify alone, the webextension works fine. When using tinyify, loading the extension fails with "Uncaught ReferenceError: require is not defined".

I have verified that I am using the browserify output in both cases. The only difference is using tinyify or not.

Contributor guide

No contributing guide indexed for this repository

Research direction

The report names no repository files or tests. Start by reproducing the browserify and tinyify webextension builds, then inspect the generated bundle around the unresolved require reference; done means the tinyify output loads without the reported ReferenceError and the regression is covered by a test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.