]> git.immae.eu Git - github/fretlink/purs-loader.git/commitdiff
Fixes bundled output path
authorJames Yu <jj6yu@uwaterloo.ca>
Tue, 6 Sep 2016 17:43:50 +0000 (13:43 -0400)
committerJames Yu <jj6yu@uwaterloo.ca>
Tue, 6 Sep 2016 17:43:50 +0000 (13:43 -0400)
src/Psc.js

index 9269e0f2e4f55fe9bfb9d27028d0a203e6f7090f..3901ecaa282e209c7c30c8a86780632026cdda98 100644 (file)
@@ -86,7 +86,7 @@ function bundle(options, cache) {
         return reject(true)
       }
       cache.bundle = stderr
-      resolve(fs.appendFileAsync('output/bundle.js', `module.exports = ${options.bundleNamespace}`))
+      resolve(fs.appendFileAsync(options.bundleOutput, `module.exports = ${options.bundleNamespace}`))
     })
   }))
 }