Skip to content
Permalink
Browse files

Remove glob support

  • Loading branch information...
TrySound committed Jan 9, 2016
1 parent 4fb0c2b commit 1fbeca62a6fc84e39e0fcd53cd3baaf95b94a3a2
@@ -1,6 +1,5 @@
var fs = require("fs")
var path = require("path")
var globby = require("globby")
var resolve = require("resolve")

var moduleDirectories = [
@@ -36,13 +35,6 @@ function resolveModule(id, opts) {
module.exports = function(id, base, options) {
var paths = options.path

if (options.glob) {
paths = [ base ].concat(paths)
return globby(paths.map(function(p) {
return path.resolve(p, id)
}))
}

var resolveOpts = {
basedir: base,
moduleDirectory: moduleDirectories,
@@ -17,7 +17,6 @@
"index.js"
],
"dependencies": {
"globby": "^4.0.0",
"object-assign": "^4.0.1",
"postcss": "^5.0.2",
"postcss-value-parser": "^3.2.3",

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 1fbeca6

Please sign in to comment.
You can’t perform that action at this time.