Skip to content
This repository has been archived by the owner on Jun 23, 2018. It is now read-only.

UglifyJS as a dependency #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ A sandboxed polyglot browser REPL.
Using npm :
`sudo npm install -g coffee-script`

##### [UglifyJS](https://github.com/mishoo/UglifyJS)
Using npm :
`sudo npm install -g uglify-js` then `export PATH=$PATH:/usr/local/lib/node_modules/uglify-js/bin/`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think either sudo or the export is necessary. installing with -g should be sufficient

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the sudo, I just mimicked the line before. For the export, it may not be needed in other systems indeed. You're the boss, boss.


#### Getting the source
##### Cloning the repository
`git clone git://github.com/replit/jsrepl.git`
Expand Down