Skip to content

Commit

Permalink
Attempt to fix vendor on consuming app production build (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
ygongdev authored Nov 19, 2019
1 parent 80e9a8f commit dec3b55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -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})
}
};

0 comments on commit dec3b55

Please sign in to comment.