Created
June 17, 2021 23:18
-
-
Save mhanberg/198db3926d3bf9e3971c9b11b39aac3b to your computer and use it in GitHub Desktop.
Scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"scripts": { | |
"js": "esbuild ./js/app.js --target=es2015 --bundle --outdir=../priv/static/js --sourcemap", | |
"css": "postcss ./css/app.css --dir ../priv/static/css", | |
"copy": "cpx \"static/**/*\" ../priv/static", | |
"deploy": "yarn js --minify & yarn css & yarn copy" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment