Skip to content

Commit

Permalink
Use this.import instead of app.import to support lazy engines
Browse files Browse the repository at this point in the history
  • Loading branch information
bertdeblock committed Feb 28, 2021
1 parent ed7f5c4 commit 587df99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ module.exports = {
}
},

included: function (app) {
included: function () {
this._super.included.apply(this, arguments);

app.import('vendor/ember-tooltips--popper.js', {
this.import(`${this.treePaths.vendor}/ember-tooltips--popper.js`, {
using: [
{
transformation: 'amd',
as: 'popper.js',
},
],
});
app.import('vendor/ember-tooltips--tooltip.js', {
this.import(`${this.treePaths.vendor}/ember-tooltips--tooltip.js`, {
using: [
{
transformation: 'amd',
Expand Down

0 comments on commit 587df99

Please sign in to comment.