Skip to content

Commit

Permalink
Fixes #6
Browse files Browse the repository at this point in the history
  • Loading branch information
PoslinskiNet committed Jan 11, 2018
1 parent 1f624ca commit ec2d31b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions index.js
Expand Up @@ -20,15 +20,18 @@ module.exports = {
},

pellPath() {
return path.dirname(resolve.sync('pell/package.json', { basedir: __dirname }))
return path.dirname(resolve.sync('pell', { basedir: __dirname }))
},

treeForVendor(tree) {
let trees = [tree];
let trees = [];

if (tree) {
trees.push(tree);
}

trees.push(new Funnel(this.pellPath(), {
destDir: 'ember-pell',
srcDir: '/dist',
files: ['pell.min.js', 'pell.min.css']
}));

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "ember-pell",
"version": "1.2.0",
"version": "1.2.1",
"description": "An Ember Component for pell micro WYSIWYG editor",
"keywords": [
"ember-addon",
Expand Down

0 comments on commit ec2d31b

Please sign in to comment.