Skip to content

Commit 32c38e5

Browse files
authored
New faster resolver supporting absolute and tilde paths, and aliases (#850)
1 parent d9f3c25 commit 32c38e5

51 files changed

Lines changed: 845 additions & 62 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
"babel-types": "^6.26.0",
2222
"babylon": "^6.17.4",
2323
"babylon-walk": "^1.0.2",
24-
"browser-resolve": "^1.11.2",
2524
"browserslist": "^2.11.2",
2625
"chalk": "^2.1.0",
2726
"chokidar": "^2.0.1",
2827
"command-exists": "^1.2.2",
2928
"commander": "^2.11.0",
3029
"cross-spawn": "^6.0.4",
3130
"cssnano": "^3.10.0",
31+
"deasync": "^0.1.12",
3232
"dotenv": "^5.0.0",
3333
"filesize": "^3.6.0",
3434
"get-port": "^3.2.0",

src/Parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Parser {
5353
}
5454

5555
findParser(filename) {
56-
if (glob.hasMagic(filename)) {
56+
if (/[*+{}]/.test(filename) && glob.hasMagic(filename)) {
5757
return GlobAsset;
5858
}
5959

0 commit comments

Comments
 (0)