diff options
Diffstat (limited to 'node_modules/clean-css/lib/options/rebase-to.js')
-rw-r--r-- | node_modules/clean-css/lib/options/rebase-to.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/node_modules/clean-css/lib/options/rebase-to.js b/node_modules/clean-css/lib/options/rebase-to.js new file mode 100644 index 000000000..134b4a382 --- /dev/null +++ b/node_modules/clean-css/lib/options/rebase-to.js @@ -0,0 +1,7 @@ +var path = require('path'); + +function rebaseToFrom(option) { + return option ? path.resolve(option) : process.cwd(); +} + +module.exports = rebaseToFrom; |