Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New faster resolver supporting absolute and tilde paths, and aliases #850

Merged
merged 10 commits into from
Feb 22, 2018
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -21,14 +21,14 @@
"babel-types": "^6.26.0",
"babylon": "^6.17.4",
"babylon-walk": "^1.0.2",
"browser-resolve": "^1.11.2",
"browserslist": "^2.11.2",
"chalk": "^2.1.0",
"chokidar": "^2.0.1",
"command-exists": "^1.2.2",
"commander": "^2.11.0",
"cross-spawn": "^6.0.4",
"cssnano": "^3.10.0",
"deasync": "^0.1.12",
"dotenv": "^5.0.0",
"filesize": "^3.6.0",
"get-port": "^3.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Parser.js
Expand Up @@ -53,7 +53,7 @@ class Parser {
}

findParser(filename) {
if (glob.hasMagic(filename)) {
if (/[*+{}]/.test(filename) && glob.hasMagic(filename)) {
return GlobAsset;
}

Expand Down