browserify / browserify/tinyify

Empty output file

Open
#23 3 comments 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 having issues trying to get this to generate a minified output file. The mentioned output file is empty. I've tried these options. None work.

browserify -p tinyify src/main.js > foobar.min.js
browserify -p tinyify src/main.js -o foobar.min.js
browserify -p tinyify -o foobar.min.js src/main.js
browserify src/main.js -p tinyify -o foobar.min.js

And they all result in an empty foobar.min.js file. What am I doing wrong?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported commands using src/main.js and the foobar.min.js output target, then inspect how the tinyify plugin is invoked through the Browserify CLI. Done means identifying why the generated output is empty and confirming that a supported command produces a non-empty minified file.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.