'use strict';

const config = module.exports = {
    entry: './web/bundles/mineseeker/js/mine-seeker.js',
    output: {
        path: './src/Mine/SeekerBundle/Resources/public/js',
        filename: 'index.js'
    },
    module: {
        loaders: [
            {
                test: /\.js$/,
                exclude: /node_modules/,
                loader: 'babel',
                query: {
                    presets: ['es2015', 'react']
                }
            }
        ]
    }
};

module.exports = config;
