diff options
author | eric <thul.eric@gmail.com> | 2016-05-24 07:48:06 -0400 |
---|---|---|
committer | eric <thul.eric@gmail.com> | 2016-05-24 07:48:06 -0400 |
commit | 8963e41464123c7cb9b8493451df277280437ee2 (patch) | |
tree | 1ce4712a58f6539e22e6388895a76443a12064c9 | |
parent | ca6262710e2ed6ce6815acd9fe729a0ec5bba1b6 (diff) | |
parent | cfa924ef0cc802a4187ed0a76b8aa668551f052c (diff) | |
download | purs-loader-8963e41464123c7cb9b8493451df277280437ee2.tar.gz purs-loader-8963e41464123c7cb9b8493451df277280437ee2.tar.zst purs-loader-8963e41464123c7cb9b8493451df277280437ee2.zip |
Merge pull request #51 from ethul/topic/issue-50
Use cross-spawn for windows support
-rw-r--r-- | package.json | 1 | ||||
-rw-r--r-- | src/index.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json index 3bdd5ec..4924fc3 100644 --- a/package.json +++ b/package.json | |||
@@ -41,6 +41,7 @@ | |||
41 | "dependencies": { | 41 | "dependencies": { |
42 | "bluebird": "^3.3.5", | 42 | "bluebird": "^3.3.5", |
43 | "chalk": "^1.1.3", | 43 | "chalk": "^1.1.3", |
44 | "cross-spawn": "^3.0.1", | ||
44 | "debug": "^2.2.0", | 45 | "debug": "^2.2.0", |
45 | "globby": "^4.0.0", | 46 | "globby": "^4.0.0", |
46 | "loader-utils": "^0.2.14", | 47 | "loader-utils": "^0.2.14", |
diff --git a/src/index.js b/src/index.js index bd2a35d..6bf1e09 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -6,7 +6,7 @@ const loaderUtils = require('loader-utils') | |||
6 | const globby = require('globby') | 6 | const globby = require('globby') |
7 | const Promise = require('bluebird') | 7 | const Promise = require('bluebird') |
8 | const fs = Promise.promisifyAll(require('fs')) | 8 | const fs = Promise.promisifyAll(require('fs')) |
9 | const spawn = require('child_process').spawn | 9 | const spawn = require('cross-spawn') |
10 | const path = require('path') | 10 | const path = require('path') |
11 | const retryPromise = require('promise-retry') | 11 | const retryPromise = require('promise-retry') |
12 | 12 | ||