Skip to content

Commit 2f747d7

Browse files
committed
Revert "Revert "resolve ala node_module resolution algorithim (NPM v3 support);""
This reverts commit 2aeb730.
1 parent 80f365a commit 2f747d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = {
44
name: 'Ember CLI ic-ajax',
55

66
init: function(name) {
7-
this.treePaths['vendor'] = 'node_modules';
7+
this.treePaths['vendor'] = require.resolve('ic-ajax').replace('ic-ajax/dist/cjs/main.js', '');
88
},
99

1010
included: function(app) {

0 commit comments

Comments
 (0)