Fix build when dist folder doesn't exist (e.g. freshly pulled)

This commit is contained in:
johni0702 2017-05-02 19:21:48 +02:00
parent 8a5b16ee51
commit 4c2200d205

View file

@ -4,7 +4,7 @@
"description": "An HTML5 Mumble client.", "description": "An HTML5 Mumble client.",
"scripts": { "scripts": {
"build": "webpack", "build": "webpack",
"prepublish": "rm -r dist && npm run build", "prepublish": "rm -rf dist && npm run build",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"author": "Jonas Herzig <me@johni0702.de>", "author": "Jonas Herzig <me@johni0702.de>",