text: var path = require('path');
  var react = require('react');
  var webpack = require('webpack');
   
  module.exports = {
    entry: {
      'tooltip': path.resolve(__dirname, './src/tooltip.jsx')
    },
    output: { 
      path: path.resolve(__dirname, './lib'),
      filename: '[name].js'
    },
    module: {
      loaders: [
        {
          test: /\.jsx?$/, 
          loader: 'babel-loader',
          exclude: /node_modules/,
          query: {
            presets: ['es2015', 'react']
          }
        },
        {
          test: /\.less$/,
          loader: 'style-loader!css-loader!less-loader'
        },
        {
          test: /\.css$/,
          loader: 'style-loader!css-loader'
        }
      ]
    }
  };