"use strict";

var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");

var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");

_Object$defineProperty(exports, "__esModule", {
  value: true
});

exports.default = _default;

var _webpack = _interopRequireDefault(require("webpack"));

function _default() {
  return {
    context: process.cwd(),
    entry: {
      ReactStuff: ['react', 'react-dom', 'react-router', 'redux', 'react-redux'],
      BootstrapStuff: ['bootstrap', 'react-bootstrap', 'chartjs', 'skypager-themes!skypager-themes/packages/dashboard-dark']
    },
    output: {
      filename: '[name].dll.js',
      path: outputPath,
      library: '[name]'
    },
    plugins: [new _webpack.default.DllPlugin({
      name: '[name]',
      path: join(outputPath, '[name].json')
    })]
  };
}

module.exports = exports.default;