[minify] browserify with zephyr

parent caccdc99
Pipeline #1829 failed with stage
...@@ -49,7 +49,7 @@ let ...@@ -49,7 +49,7 @@ let
spago build --purs-args '--codegen corefn,js' spago build --purs-args '--codegen corefn,js'
zephyr -f Main.main zephyr -f Main.main
yarn parcel build dist/index.html --public-url '.' --no-source-maps browserify-zephyr
''; '';
browserify = pkgs.writeShellScriptBin "browserify" '' browserify = pkgs.writeShellScriptBin "browserify" ''
...@@ -59,6 +59,13 @@ let ...@@ -59,6 +59,13 @@ let
pulp browserify --skip-compile -t dist/bundle.js --src-path output pulp browserify --skip-compile -t dist/bundle.js --src-path output
''; '';
browserify-zephyr = pkgs.writeShellScriptBin "browserify-zephyr" ''
#!/usr/bin/env bash
set -e
pulp browserify --skip-compile -t dist/bundle.js --src-path dce-output
'';
minify-bundle = pkgs.writeShellScriptBin "minify-bundle" '' minify-bundle = pkgs.writeShellScriptBin "minify-bundle" ''
#!/usr/bin/env bash #!/usr/bin/env bash
set -e set -e
...@@ -91,12 +98,14 @@ pkgs.mkShell { ...@@ -91,12 +98,14 @@ pkgs.mkShell {
easy-ps.dhall-json-simple easy-ps.dhall-json-simple
easy-ps.zephyr easy-ps.zephyr
browserify browserify
browserify-zephyr
build-css build-css
build-purs build-purs
build-watch build-watch
build-zephyr build-zephyr
build build
minify-bundle minify-bundle
pkgs.closurecompiler
pkgs.minify pkgs.minify
pkgs.nodejs pkgs.nodejs
repl repl
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment