'use strict';

module.exports = {
  name: 'ember-tooltips',

  options: {
    nodeAssets: {

      'popper.js': {
        vendor: {
          srcDir: 'dist/umd',
          destDir: 'popper',
          include: ['popper.js'],
        },
      },

      'tooltip.js': {
        vendor: {
          srcDir: 'dist/umd',
          destDir: 'popper',
          include: ['tooltip.js'],
        },
      },
    },
  },

  included: function(app) {
    this._super.included(app);

    app.import('vendor/popper/popper.js');
    app.import('vendor/popper/tooltip.js');
  },

};

'use strict';

module.exports = {
  name: 'ember-tooltips',

  options: {
    nodeAssets: {

      'popper.js': {
        vendor: {
          srcDir: 'dist/umd',
          destDir: 'popper',
          include: ['popper.js', 'popper.js.map'],
        },
      },

      'tooltip.js': {
        vendor: {
          srcDir: 'dist/umd',
          destDir: 'popper',
          include: ['tooltip.js', 'tooltip.js.map'],
        },
      },
    },
  },

  included: function(app) {
    this._super.included(app);

    app.import('vendor/popper/popper.js');
    app.import('vendor/popper/tooltip.js');
  },

};

Include popper.js and tooltip.js sourcemaps
Include popper.js and tooltip.js sourcemaps

Fixes #226
