Skip to content

Commit

Permalink
use this.import instead of app.import
Browse files Browse the repository at this point in the history
  • Loading branch information
brendenpalmer authored and Brenden Palmer committed Jul 1, 2021
1 parent 704173f commit 7e952b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
'use strict';

var shouldUseInstrumentedBuild = require('./utils').shouldUseInstrumentedBuild;

module.exports = {
Expand All @@ -12,11 +13,11 @@ module.exports = {

included: function() {
if (false /* hotfix */&& shouldUseInstrumentedBuild()) {
this.app.import('vendor/loader/loader.instrument.js', {
this.import('vendor/loader/loader.instrument.js', {
prepend: true
})
} else {
this.app.import('vendor/loader/loader.js', {
this.import('vendor/loader/loader.js', {
prepend: true
});
}
Expand Down

0 comments on commit 7e952b9

Please sign in to comment.