We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c7602a commit 605c0e1Copy full SHA for 605c0e1
src/index.ts
@@ -39,7 +39,11 @@ function throwNotDefined(details : string) : never {
39
40
41
/**
42
- * Default implementation of PathHandlers
+ * Default implementation of PathHandlers.
43
+ * resolve() should handle 3 situations :
44
+ * - resolve a relative path ( eg. import './details.vue' )
45
+ * - resolve an absolute path ( eg. import '/components/card.vue' )
46
+ * - resolve a module name ( eg. import { format } from 'date-fns' )
47
*/
48
const defaultPathHandlers : PathHandlers = {
49
extname(filepath) {
0 commit comments