text: let path = require('path');
  const resources = require('../../scripts/webpack/webpack-resources');
  
  const BUNDLE_NAME = 'todo-app';
  const IS_PRODUCTION = process.argv.indexOf('--production') > -1;
  
  module.exports = resources.createConfig(BUNDLE_NAME, IS_PRODUCTION, {
    entry: {
      [BUNDLE_NAME]: './lib/index.js'
    },
  
    output: {
      libraryTarget: 'var',
      library: 'Fabric'
    },
  
    externals: [
      {
        react: 'React'
      },
      {
        'react-dom': 'ReactDOM'
      }
    ]
  });
  