diff --git a/index.js b/index.js index 44920958..aa3f1295 100644 --- a/index.js +++ b/index.js @@ -1,9 +1,10 @@ 'use strict'; +const path = require('path'); module.exports = { name: require('./package').name, included(app) { - app.import('vendor/polyfills/closest.js', { prepend: true}) + app.import(path.join(this.treePaths.vendor, 'polyfills', 'closest.js'), { prepend: true}) } };