text: var path = require('path')
  var TransformModulesPlugin = require('../../../lib/index')
  
  module.exports = {
    context: __dirname,
    entry: {
      app: path.resolve(__dirname, './index')
    },
    output: {
      path: path.resolve(__dirname, './'),
      library: 'normal',
      libraryTarget: 'umd'
    },
    module: {
      rules: [
        {
          test: /\.js$/,
          use: {
            loader: 'babel-loader'
          }
        },
        {
          test: /\.json$/,
          loader: 'json-loader'
        }
      ]
    },
    plugins: [
      new TransformModulesPlugin()
    ]
  }
  