]> git.immae.eu Git - github/fretlink/purs-loader.git/commitdiff
Ensure output directory exists
authoreric thul <thul.eric@gmail.com>
Tue, 7 Jul 2015 03:10:09 +0000 (23:10 -0400)
committereric thul <thul.eric@gmail.com>
Tue, 7 Jul 2015 03:53:13 +0000 (23:53 -0400)
Workaround for #15

example/package.json

index 8a31dd845500e04286ff9e7a92a4b55b18c6498f..df3e74f40da3885f47f960a1605deaa28dcc224b 100644 (file)
@@ -3,7 +3,7 @@
   "version": "0.0.0",
   "private": true,
   "scripts": {
-    "build": "./node_modules/.bin/webpack",
+    "build": "mkdir -p output && ./node_modules/.bin/webpack",
     "run": "node bundle.js",
     "clean": "rm -rf bower_components && rm -rf bundle.js && rm -rf node_modules && rm -rf output"
   },