Skip to content

Commit

Permalink
Merge pull request #46 from intercom/ac/chore/fix-vendored-imports
Browse files Browse the repository at this point in the history
Fix how vendored assets are imported
  • Loading branch information
lukemelia committed Oct 10, 2023
2 parents aa3df05 + 7ac0ec9 commit 3e00c68
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 @@ -17,13 +17,13 @@ module.exports = {
blueprintsPath: function () {
return path.join(__dirname, 'blueprints');
},
included: function colpick_included() {
included: function colpick_included(app) {
this._super.included.apply(this, arguments);
if (!process.env.EMBER_CLI_FASTBOOT) {
var colpickPath = path.join('vendor', 'jquery-colpick');

this.app.import(path.join(colpickPath, 'colpick.js'));
this.app.import(path.join(colpickPath, 'colpick.css'));
app.import(path.join(colpickPath, 'colpick.js'));
app.import(path.join(colpickPath, 'colpick.css'));
}
},
};

0 comments on commit 3e00c68

Please sign in to comment.