A music player that connects to your cloud/distributed storage.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use terser.js instead of Google Closure Compiler

+16 -6
+13 -3
Makefile
··· 46 46 @echo "> Compiling Elm application (optimized)" 47 47 @elm make $(SRC_DIR)/Applications/Brain.elm --output $(BUILD_DIR)/brain.elm.js --optimize 48 48 @elm make $(SRC_DIR)/Applications/UI.elm --output $(BUILD_DIR)/ui.elm.js --optimize 49 - @closure-compiler --js=$(BUILD_DIR)/brain.elm.js --js_output_file=$(BUILD_DIR)/brain.elm.tmp.js 50 - @closure-compiler --js=$(BUILD_DIR)/ui.elm.js --js_output_file=$(BUILD_DIR)/ui.elm.tmp.js 49 + 50 + @$(NPM_DIR)/.bin/terser $(BUILD_DIR)/brain.elm.js \ 51 + --output $(BUILD_DIR)/brain.elm.tmp.js \ 52 + --compress --mangle 53 + 54 + @$(NPM_DIR)/.bin/terser $(BUILD_DIR)/ui.elm.js \ 55 + --output $(BUILD_DIR)/ui.elm.tmp.js \ 56 + --compress --mangle 57 + 51 58 @rm $(BUILD_DIR)/brain.elm.js 52 59 @mv $(BUILD_DIR)/brain.elm.tmp.js $(BUILD_DIR)/brain.elm.js 53 60 @rm $(BUILD_DIR)/ui.elm.js ··· 111 118 @mkdir -p $(BUILD_DIR)/vendor 112 119 @cp $(NPM_DIR)/remotestoragejs/release/remotestorage.js $(BUILD_DIR)/vendor/remotestorage.min.js 113 120 @cp $(NPM_DIR)/blockstack/blockstack.min.js $(BUILD_DIR)/vendor/blockstack.min.js 114 - @cp $(NPM_DIR)/pep/elm-pep.js $(BUILD_DIR)/vendor/pep.js 121 + 122 + @$(NPM_DIR)/.bin/terser $(NPM_DIR)/pep/elm-pep.js \ 123 + --output $(BUILD_DIR)/vendor/pep.js \ 124 + --compress --mangle 115 125 116 126 117 127 #
+1 -2
README.md
··· 65 65 - [Elm](https://elm-lang.org/) programming language 66 66 - [Haskell](https://docs.haskellstack.org/en/stable/README/) programming language 67 67 - [Node.js](https://nodejs.org/) programming language with the [Yarn](https://yarnpkg.com/) package manager 68 - - [Google Closure Compiler](https://github.com/google/closure-compiler#getting-started) minifying assets 69 68 - [Devd](https://github.com/cortesi/devd) web server for development (optional) 70 69 - [Watchexec](https://github.com/watchexec/watchexec) watching for file changes (optional) 71 70 - [Elm Proofread](https://github.com/icidasset/elm-proofread) documentation tests (optional) ··· 77 76 # 1. Install programming languages: 78 77 # Elm 0.19.1 & Haskell (Stack), see links above 79 78 80 - # 2. Install Javascript dependencies 79 + # 2. Install dependencies 81 80 yarn install 82 81 83 82 # 3. Build, start server & watch for changes
+1
package.json
··· 2 2 "private": true, 3 3 "devDependencies": { 4 4 "elm-review": "^1.0.1", 5 + "terser": "^4.3.9", 5 6 "webpack": "^4.41.2", 6 7 "webpack-cli": "^3.3.9" 7 8 },
+1 -1
yarn.lock
··· 3341 3341 webpack-sources "^1.4.0" 3342 3342 worker-farm "^1.7.0" 3343 3343 3344 - terser@^4.1.2: 3344 + terser@^4.1.2, terser@^4.3.9: 3345 3345 version "4.3.9" 3346 3346 resolved "https://registry.yarnpkg.com/terser/-/terser-4.3.9.tgz#e4be37f80553d02645668727777687dad26bbca8" 3347 3347 integrity sha512-NFGMpHjlzmyOtPL+fDw3G7+6Ueh/sz4mkaUYa4lJCxOPTNzd0Uj0aZJOmsDYoSQyfuVoWDMSWTPU3huyOm2zdA==